fix feed: prefix stripping
This commit is contained in:
parent
bb0f29a454
commit
45094d96a2
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue