filter stupid feed: prefix from feed url

This commit is contained in:
Andrew Dolgov 2006-09-16 10:54:02 +01:00
parent f0e2373ae7
commit bb0f29a454
1 changed files with 3 additions and 1 deletions

View File

@ -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 {