diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-03 03:40:02 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-03 03:40:02 +0100 |
commit | e2b8f67cd5c7290d0bab46bdaea1164c5fe5127f (patch) | |
tree | 45fd48f1d69d73097f702aa75d65fcf0a4cb2cd3 /system/libraries/Session.php | |
parent | 7a885981bc82b7668b8b16a84987b9e1804389ea (diff) | |
parent | a19beb0c580ac78c4b75548a046240a85f30cb29 (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) |