From 4b322b18f3398e07275b74f615c2bf727a98a3cd Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Fri, 26 Oct 2012 15:37:28 +0300 Subject: Fix an improper usage of empty() in the URI class --- system/core/URI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/core/URI.php') 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 '/'; } -- cgit v1.2.3-24-g4f1b