fix feed: prefix stripping

This commit is contained in:
Andrew Dolgov 2006-09-19 04:55:22 +01:00
parent bb0f29a454
commit 45094d96a2

View file

@ -1917,7 +1917,7 @@
function subscribe_to_feed($link, $feed_link, $cat_id = 0) { 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) { if ($cat_id == "0" || !$cat_id) {
$cat_qpart = "NULL"; $cat_qpart = "NULL";