diff options
author | Vivek Dinesh <vivekdinesh5@gmail.com> | 2016-08-11 14:51:11 +0200 |
---|---|---|
committer | Vivek Dinesh <vivekdinesh5@gmail.com> | 2016-08-11 14:51:11 +0200 |
commit | 669cc5f881970ec3cc19b57f4da0382c7d8f5542 (patch) | |
tree | 65ce23c2af8da403b86857b89dc52eb46e726eb7 /system/helpers | |
parent | b6ed3d102dc7c8e2a591405e56aa780d64d385d6 (diff) |
Removed useless checks
Based on GitHub discussion.
Signed-off-by: Vivek Dinesh <vivekdinesh5@gmail.com>
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/url_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php index 82b9e02af..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 (strtolower($str) === 'http://' OR $str === '') + if ($str === '') { return ''; } |