diff options
author | Andrey Andreev <narf@devilix.net> | 2015-04-12 13:23:47 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-04-12 13:23:47 +0200 |
commit | c14aa9bcca4b5876f2bf46bbe9eb4c7d3e0e013a (patch) | |
tree | aa03d1aaaa46a2b63c5dba293a898e7561840173 /system/helpers | |
parent | 5add0fc9e508ae415878bc84179c1791e749008c (diff) |
Close #3761
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 bf623b000..5f8c6ce67 100644 --- a/system/helpers/url_helper.php +++ b/system/helpers/url_helper.php @@ -161,7 +161,7 @@ if ( ! function_exists('anchor')) $site_url = is_array($uri) ? site_url($uri) - : preg_match('#^(\w+:)?//#i', $uri) ? $uri : site_url($uri); + : (preg_match('#^(\w+:)?//#i', $uri) ? $uri : site_url($uri)); if ($title === '') { |