1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 05:59:15 +00:00

drop option ENABLE_SEARCH_TOOLBAR, use some more callbacks in filterCR

This commit is contained in:
Andrew Dolgov
2006-10-01 08:00:04 +01:00
parent 6e6504bc02
commit c91c224952
8 changed files with 37 additions and 20 deletions

View File

@@ -1877,7 +1877,9 @@
function subscribe_to_feed($link, $feed_link, $cat_id = 0) {
$feed_link = preg_replace("/^feed:/", "", $feed_link);
$feed_link = trim(preg_replace("/^feed:/", "", $feed_link));
if ($feed_link == "") return;
if ($cat_id == "0" || !$cat_id) {
$cat_qpart = "NULL";