From 2d1b7139a29d417b5b59efecae1a1823f690d57a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Nov 2010 21:43:40 +0300 Subject: [PATCH] fix search dialog for categories --- modules/popup-dialog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')."
"; -- 2.39.5