summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-05 15:17:32 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-05 15:17:32 +0100
commit99013ed3ed0ea5641a6c6b6afa08a7befb579cb0 (patch)
treeec85d2c3b418d87366d88f9efc96c03bfa839fdb /system/libraries/Session.php
parent62d6ee48b319dc7ec92b4a14fa8dbd3601060544 (diff)
parent57bdeb61bf199d1ae3ceaede4e9a9af8290ce715 (diff)
Rename property _commit to commit_mode and merge upstream changes
Diffstat (limited to 'system/libraries/Session.php')
-rw-r--r--system/libraries/Session.php2
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)