From: Andrew Dolgov Date: Fri, 31 Aug 2012 08:27:50 +0000 (+0400) Subject: fix getfiltertree enabled on psql X-Git-Tag: 1.6.0~96 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c2ee5846fa86ed6feac821a21803cce713573758;p=tt-rss.git fix getfiltertree enabled on psql --- diff --git a/classes/pref/filters.php b/classes/pref/filters.php index f1a4c7fd..664c26f6 100644 --- a/classes/pref/filters.php +++ b/classes/pref/filters.php @@ -124,7 +124,7 @@ class Pref_Filters extends Handler_Protected { $filter['name'] = $name[0]; $filter['param'] = $name[1]; $filter['checkbox'] = false; - $filter['enabled'] = $line["enabled"]; + $filter['enabled'] = sql_bool_to_bool($line["enabled"]); array_push($root['items'], $filter); }