From e2d84cdb9f77bc91713b4b8085333c8b85af76ae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Feb 2007 09:01:39 +0100 Subject: [PATCH] another take on feed: stripping --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.39.5