diff options
author | Andrew Dolgov <[email protected]> | 2010-11-08 21:43:40 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-08 21:43:40 +0300 |
commit | 2d1b7139a29d417b5b59efecae1a1823f690d57a (patch) | |
tree | 896bb577ed48ddeeab65fb0f08485c3224dcd9a8 | |
parent | 2e7f046f65bd6d3a9417484bc4d6c9855cf39f7e (diff) |
fix search dialog for categories
-rw-r--r-- | modules/popup-dialog.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 "<div class=\"dlgSec\">".__('Look for')."</div>"; |