From c2ee5846fa86ed6feac821a21803cce713573758 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Aug 2012 12:27:50 +0400 Subject: [PATCH] fix getfiltertree enabled on psql --- classes/pref/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5