mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix query in reset_postprocessing script related to misc categories reset
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user