fix feed: prefix stripping (2)
This commit is contained in:
parent
45094d96a2
commit
39ddbaa1c4
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue