From: Andrew Dolgov Date: Mon, 8 Nov 2010 18:43:40 +0000 (+0300) Subject: fix search dialog for categories X-Git-Tag: 1.5.0~350 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2d1b7139a29d417b5b59efecae1a1823f690d57a;p=tt-rss.git fix search dialog for categories --- diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index d68bd1db..28f95443 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -363,10 +363,10 @@ #$active_feed_id = db_escape_string($_REQUEST["param"]); - $params = split(":", db_escape_string($_REQUEST["param"])); + $params = explode(":", db_escape_string($_REQUEST["param"]), 2); $active_feed_id = sprintf("%d", $params[0]); - $is_cat = $params[1] == "true"; + $is_cat = (bool) $params[1]; print "
".__('Look for')."
";