mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Fix moviesSearch $whereSql query
This commit is contained in:
+2
-2
@@ -994,11 +994,11 @@ class Releases
|
||||
public function moviesSearch($imDbId, $offset = 0, $limit = 100, $name = '', array $cat = [-1], $maxAge = -1, $minSize = 0): array
|
||||
{
|
||||
$whereSql = sprintf(
|
||||
'%s
|
||||
"%s
|
||||
WHERE r.categories_id BETWEEN " . Category::MOVIE_ROOT . " AND " . Category::MOVIE_OTHER . "
|
||||
AND r.nzbstatus = %d
|
||||
AND r.passwordstatus %s
|
||||
%s %s %s %s %s',
|
||||
%s %s %s %s %s",
|
||||
($name !== '' ? $this->releaseSearch->getFullTextJoinString() : ''),
|
||||
NZB::NZB_ADDED,
|
||||
$this->showPasswords,
|
||||
|
||||
Reference in New Issue
Block a user