From: Andrew Dolgov Date: Sat, 16 Sep 2006 09:54:02 +0000 (+0100) Subject: filter stupid feed: prefix from feed url X-Git-Tag: 1.2.3~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bb0f29a45468b26ec2a6fb8720e3a7c9e65be404;p=tt-rss.git filter stupid feed: prefix from feed url --- diff --git a/functions.php b/functions.php index afe013d6..b90cb313 100644 --- a/functions.php +++ b/functions.php @@ -1916,7 +1916,9 @@ } function subscribe_to_feed($link, $feed_link, $cat_id = 0) { - + + $feed_link = preg_replace("/^feed://", $feed_link); + if ($cat_id == "0" || !$cat_id) { $cat_qpart = "NULL"; } else {