filter stupid feed: prefix from feed url
This commit is contained in:
parent
f0e2373ae7
commit
bb0f29a454
|
@ -1917,6 +1917,8 @@
|
||||||
|
|
||||||
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);
|
||||||
|
|
||||||
if ($cat_id == "0" || !$cat_id) {
|
if ($cat_id == "0" || !$cat_id) {
|
||||||
$cat_qpart = "NULL";
|
$cat_qpart = "NULL";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue