diff --git a/Changelog b/Changelog index a3128fc2a..d9b920bd4 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-10-31 DariusIII + * Fix: Fix query in reset_postprocessing script related to misc categories reset * Chg: Update Forking class - remove pdo * Chg: Increase group_concat_max_len in groupfixrelnames script * Chg: Refactor ColorCLI class diff --git a/misc/testing/DB/reset_postprocessing.php b/misc/testing/DB/reset_postprocessing.php index 035f1be67..039491ff2 100755 --- a/misc/testing/DB/reset_postprocessing.php +++ b/misc/testing/DB/reset_postprocessing.php @@ -173,6 +173,8 @@ if (isset($argv[1]) && ($argv[1] === 'misc' || $argv[1] === 'all')) { $where = ' WHERE haspreview < -1 OR haspreview = 0 OR passwordstatus < -1 OR passwordstatus = 0 OR jpgstatus < 0 OR videostatus < 0 OR audiostatus < 0'; } + $where .= ' AND categories_id < 1000'; + $colorCli->primary('SELECT id FROM releases'.$where); $qry = $pdo->query('SELECT id FROM releases'.$where); if ($qry !== false) {