summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-14 14:18:36 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-14 14:18:36 +0100
commit85c7c61523177bb9307c6ea8439090de4c39c457 (patch)
treed4e061a5fb3934bdff4586f21ae3e07980268917 /system/database
parent39af731090428b2a50bc196cc89931520483569f (diff)
fix a segment db cache bug
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_cache.php2
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 == '')