From fdad23daf944c31c1c5ef1eacb76a4263a2dc860 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 12 Feb 2018 13:53:06 +0100 Subject: [PATCH] Fix wrong categories used in searchByImdbId function --- Changelog | 1 + nntmux/Releases.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 5c62d1e7a..aa39bc982 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-02-12 DariusIII + * Fix: Fix wrong categories used in searchByImdbId function * Chg: Update exeu/apai-io to version 2.2.0 * Chg: Update composer.json, remove ext-yenc suggestion and add ext-bcmath as required * Chg: Update database.php nntmux configuration to include engine definition diff --git a/nntmux/Releases.php b/nntmux/Releases.php index 682266433..9a8867501 100755 --- a/nntmux/Releases.php +++ b/nntmux/Releases.php @@ -1019,7 +1019,7 @@ class Releases LEFT JOIN categories c ON c.id = r.categories_id LEFT JOIN categories cp ON cp.id = c.parentid LEFT OUTER JOIN release_nfos rn ON rn.releases_id = r.id - WHERE r.categories_id BETWEEN 5000 AND 5999 + WHERE r.categories_id BETWEEN 2000 AND 2999 %s", $this->getConcatenatedCategoryIDs(), $whereSql