From: Andrew Dolgov Date: Tue, 20 Feb 2007 08:01:39 +0000 (+0100) Subject: another take on feed: stripping X-Git-Tag: 1.2.8-p1~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e2d84cdb9f77bc91713b4b8085333c8b85af76ae;p=tt-rss.git another take on feed: stripping --- diff --git a/functions.php b/functions.php index ece96d14..7c6e1d4e 100644 --- a/functions.php +++ b/functions.php @@ -1942,7 +1942,7 @@ $feed_link = trim(preg_replace("/^feed:/", "", $feed_link)); # check for feed://URL - if (strstr($feed_link, "//") == 0) { + if (strpos($feed_link, "//") === 0) { $feed_link = "http:$feed_link"; }