fix feed: prefix stripping (2)

This commit is contained in:
Andrew Dolgov 2006-09-19 04:56:34 +01:00
parent 45094d96a2
commit 39ddbaa1c4
1 changed files with 1 additions and 1 deletions

View File

@ -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";