diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index d68bd1db7..28f954436 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')."
";