From: Andrew Dolgov Date: Tue, 1 Aug 2006 04:33:31 +0000 (+0100) Subject: fix search dialog in tag mode X-Git-Tag: schema_freeze_for_1.2.2~50 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b788b632415181c17f12b6b28022c7417c694f5f;p=tt-rss.git fix search dialog in tag mode --- diff --git a/backend.php b/backend.php index 6f4c932f..50772237 100644 --- a/backend.php +++ b/backend.php @@ -2541,7 +2541,7 @@ $params = split(":", db_escape_string($_GET["param"])); - $active_feed_id = $params[0]; + $active_feed_id = sprintf("%d", $params[0]); $is_cat = $params[1] == "true"; print "
Search:"; @@ -2575,7 +2575,7 @@ $cat_preselected = "selected"; } - if (get_pref($link, 'ENABLE_FEED_CATS') && $active_feed_id >= 0) { + if (get_pref($link, 'ENABLE_FEED_CATS') && ($active_feed_id > 0 || $is_cat)) { print ""; } else { print "";