diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-01-14 14:18:36 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-01-14 14:18:36 +0100 |
commit | 85c7c61523177bb9307c6ea8439090de4c39c457 (patch) | |
tree | d4e061a5fb3934bdff4586f21ae3e07980268917 | |
parent | 39af731090428b2a50bc196cc89931520483569f (diff) |
fix a segment db cache bug
-rw-r--r-- | system/database/DB_cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php index f8ea616cd..1e7410708 100644 --- a/system/database/DB_cache.php +++ b/system/database/DB_cache.php @@ -163,7 +163,7 @@ class CI_DB_Cache { {
if ($segment_one == '')
{
- $segment_one = ($this->CI->uri->segment(1) == FALSE) ? 'default' : $this->CI->uri->segment(2);
+ $segment_one = ($this->CI->uri->segment(1) == FALSE) ? 'default' : $this->CI->uri->segment(1);
}
if ($segment_two == '')
|