diff options
author | Andrew Dolgov <[email protected]> | 2007-02-20 09:01:39 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-02-20 09:01:39 +0100 |
commit | e2d84cdb9f77bc91713b4b8085333c8b85af76ae (patch) | |
tree | 66a8bfa0cce3bd9f1d17ba3422757722e403cf4e /functions.php | |
parent | 235a11b02655e1a9cf566bcc7056fa47aebf1695 (diff) |
another take on feed: stripping
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index ece96d147..7c6e1d4e2 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"; } |