diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-26 14:37:28 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-26 14:37:28 +0200 |
commit | 4b322b18f3398e07275b74f615c2bf727a98a3cd (patch) | |
tree | 7f270e57f5b5aedf4945a15c1327b607eb2a86f2 /system/core/URI.php | |
parent | 58c2b10eff196d6e7e4c678a3d7ef13bbc030124 (diff) |
Fix an improper usage of empty() in the URI class
Diffstat (limited to 'system/core/URI.php')
-rw-r--r-- | system/core/URI.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index 72f293c18..13530bd63 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -219,7 +219,7 @@ class CI_URI { $_GET = array(); } - if ($uri === '/' OR empty($uri)) + if ($uri === '/' OR $uri === '') { return '/'; } |