]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix getfiltertree enabled on psql
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 31 Aug 2012 08:27:50 +0000 (12:27 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 31 Aug 2012 08:27:50 +0000 (12:27 +0400)
classes/pref/filters.php

index f1a4c7fd1e61c9db3f8654dfeb1959758af8c903..664c26f6d523ec8ee236482cce0ca25319633067 100644 (file)
@@ -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);
                }