]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix feed: prefix stripping
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 19 Sep 2006 03:55:22 +0000 (04:55 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 19 Sep 2006 03:55:22 +0000 (04:55 +0100)
functions.php

index b90cb3136c9064b42d1b2f36996d149005fee5ff..6ac0eecaffed85830fdd6cd7a886c684707254ba 100644 (file)
 
        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";