prefs: show disabled filters properly on mysql
This commit is contained in:
parent
2996a3942f
commit
fa653f5a43
|
@ -303,7 +303,7 @@ class Pref_Filters extends Handler_Protected {
|
||||||
$filter['param'] = $name[1];
|
$filter['param'] = $name[1];
|
||||||
$filter['checkbox'] = false;
|
$filter['checkbox'] = false;
|
||||||
$filter['last_triggered'] = $line["last_triggered"] ? make_local_datetime($line["last_triggered"], false) : null;
|
$filter['last_triggered'] = $line["last_triggered"] ? make_local_datetime($line["last_triggered"], false) : null;
|
||||||
$filter['enabled'] = $line["enabled"];
|
$filter['enabled'] = sql_bool_to_bool($line["enabled"]);
|
||||||
$filter['rules'] = $this->getfilterrules_list($line['id']);
|
$filter['rules'] = $this->getfilterrules_list($line['id']);
|
||||||
|
|
||||||
if (!$filter_search || $match_ok) {
|
if (!$filter_search || $match_ok) {
|
||||||
|
|
Loading…
Reference in New Issue