another take on feed: stripping
This commit is contained in:
parent
235a11b026
commit
e2d84cdb9f
1 changed files with 1 additions and 1 deletions
|
@ -1942,7 +1942,7 @@
|
||||||
$feed_link = trim(preg_replace("/^feed:/", "", $feed_link));
|
$feed_link = trim(preg_replace("/^feed:/", "", $feed_link));
|
||||||
|
|
||||||
# check for feed://URL
|
# check for feed://URL
|
||||||
if (strstr($feed_link, "//") == 0) {
|
if (strpos($feed_link, "//") === 0) {
|
||||||
$feed_link = "http:$feed_link";
|
$feed_link = "http:$feed_link";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue