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

index 6ac0eecaffed85830fdd6cd7a886c684707254ba..03e511d9f848869a4b203bdf5aa9a0fa98e3c446 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";