diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-03 02:52:16 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-03 02:52:16 +0100 |
commit | 8335a5db2a44b9272b066f524223b58904dd9f3f (patch) | |
tree | 688f1f0115c33bc65f40c5600e02f20b64d65537 /system/libraries/Session.php | |
parent | 718d9ef22c4663f59f6f43c8945944f1f165c800 (diff) | |
parent | 8e89df8f92444eb02dc73b6c3e66077a4fb3f710 (diff) |
Merge upstream branch
Diffstat (limited to 'system/libraries/Session.php')
-rw-r--r-- | system/libraries/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php index 66b39a6a2..dd50a91e1 100644 --- a/system/libraries/Session.php +++ b/system/libraries/Session.php @@ -219,7 +219,7 @@ class CI_Session { $this->CI->db->where('user_agent', $session['user_agent']); } - $query = $this->CI->db->get($this->sess_table_name); + $query = $this->CI->db->limit(1)->get($this->sess_table_name); // No result? Kill it! if ($query->num_rows() === 0) |