summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-08-11 14:55:33 +0200
committerGitHub <noreply@github.com>2016-08-11 14:55:33 +0200
commitb7b5ee6bee6395460a7f628cb16f75b0777ea44b (patch)
tree784991ea4ddcef07c660c071c9fb652d5003ba00 /system/helpers
parentd864eb4828a1a4c327df1af4e84328a8dfd0be43 (diff)
parent669cc5f881970ec3cc19b57f4da0382c7d8f5542 (diff)
Merge pull request #4764 from butane/uri_scheme_case
URI schemes are not case-sensitive
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/url_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index fd7b5e116..8a5a75c44 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -443,7 +443,7 @@ if ( ! function_exists('prep_url'))
*/
function prep_url($str = '')
{
- if ($str === 'http://' OR $str === '')
+ if ($str === '')
{
return '';
}