summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/URI.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/URI.php b/system/core/URI.php
index 2361ecf7d..3b4d2e07f 100644
--- a/system/core/URI.php
+++ b/system/core/URI.php
@@ -160,7 +160,7 @@ class CI_URI {
$this->segments[0] = NULL;
// Populate the segments array
- foreach (explode('/', trim($this->uri->string, '/')) as $val)
+ foreach (explode('/', trim($this->uri_string, '/')) as $val)
{
// Filter segments for security
$val = trim($this->filter_uri($val));