From: Andrew Dolgov Date: Tue, 19 Sep 2006 03:55:22 +0000 (+0100) Subject: fix feed: prefix stripping X-Git-Tag: 1.2.3~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=45094d96a2883af121763003ddb698048e16287b;p=tt-rss.git fix feed: prefix stripping --- diff --git a/functions.php b/functions.php index b90cb313..6ac0eeca 100644 --- a/functions.php +++ b/functions.php @@ -1917,7 +1917,7 @@ function subscribe_to_feed($link, $feed_link, $cat_id = 0) { - $feed_link = preg_replace("/^feed://", $feed_link); + $feed_link = preg_replace("/^feed://", "", $feed_link); if ($cat_id == "0" || !$cat_id) { $cat_qpart = "NULL";