From 4a994caa038f0856298e6879d42c1a61c5bcdb01 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 10 May 2016 11:19:21 +0200 Subject: [PATCH] Fix references to changed columns --- misc/testing/DB/reset_postprocessing.php | 2 +- newznab/Tmux.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/testing/DB/reset_postprocessing.php b/misc/testing/DB/reset_postprocessing.php index 4639eb5ee..f2f1bf67e 100755 --- a/misc/testing/DB/reset_postprocessing.php +++ b/misc/testing/DB/reset_postprocessing.php @@ -159,7 +159,7 @@ if (isset($argv[1]) && ($argv[1] === "music" || $argv[1] === "all")) { $consoletools->overWritePrimary("Resetting Music Releases: " . $consoletools->percentString(++$concount, $total)); } } - echo $pdo->log->header("\n" . number_format($concount) . " musicinfoID's reset."); + echo $pdo->log->header("\n" . number_format($concount) . " musicinfo_id's reset."); } if (isset($argv[1]) && ($argv[1] === "misc" || $argv[1] === "all")) { $ran = true; diff --git a/newznab/Tmux.php b/newznab/Tmux.php index ac5db0d3f..d517b12a7 100644 --- a/newznab/Tmux.php +++ b/newznab/Tmux.php @@ -382,7 +382,6 @@ class Tmux public function proc_query($qry, $bookreqids, $request_hours, $db_name) { switch ((int) $qry) { - case 1: case 1: return sprintf("SELECT SUM(IF(nzbstatus = 1 AND categories_id BETWEEN %d AND %d AND categories_id != %d AND videos_id = 0