mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix property not existing causing an exception
This commit is contained in:
@@ -641,7 +641,7 @@ class XML_Response
|
||||
|
||||
if ((int) $this->parameters['extended'] === 1) {
|
||||
$this->writeZedAttr('files', $this->release->totalpart);
|
||||
if (($this->release->videos_id > 0 || $this->release->tv_episodes_id > 0) && $this->namespace === 'newznab') {
|
||||
if (((property_exists($this->release, 'videos_id') && $this->release->videos_id > 0) || (property_exists($this->release, 'tv_episodes_id') && $this->release->tv_episodes_id > 0)) && $this->namespace === 'newznab') {
|
||||
$this->setTvAttr();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user