mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Change checks
This commit is contained in:
@@ -783,7 +783,7 @@ class Releases extends Release
|
||||
$show = self::fromQuery($showQry)->take(1)->toArray();
|
||||
|
||||
if (! empty($show)) {
|
||||
if ((! empty($series) || ! empty($episode) || ! empty($airdate)) && $show[0]->episodes !== '') {
|
||||
if ((! empty($series) || ! empty($episode) || ! empty($airdate)) && ! empty($show[0]->episodes)) {
|
||||
$showSql = sprintf('AND r.tv_episodes_id IN (%s)', $show[0]->episodes);
|
||||
} elseif ((int) $show[0]->video > 0) {
|
||||
$showSql = 'AND r.videos_id = '.$show[0]->video;
|
||||
|
||||
Reference in New Issue
Block a user