fix search dialog for categories

This commit is contained in:
Andrew Dolgov 2010-11-08 21:43:40 +03:00
parent 2e7f046f65
commit 2d1b7139a2
1 changed files with 2 additions and 2 deletions

View File

@ -363,10 +363,10 @@
#$active_feed_id = db_escape_string($_REQUEST["param"]); #$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]); $active_feed_id = sprintf("%d", $params[0]);
$is_cat = $params[1] == "true"; $is_cat = (bool) $params[1];
print "<div class=\"dlgSec\">".__('Look for')."</div>"; print "<div class=\"dlgSec\">".__('Look for')."</div>";