diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-03 03:37:48 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-03 03:37:48 +0100 |
commit | c28e7025f93114afa8c9ab7fb9d65b9c329e2ae6 (patch) | |
tree | d39092f36aff1c81db2a644be950437f135d1fd6 /system/libraries/Session.php | |
parent | bfe6922c7a10701aee56ee9072243cf58d9e96a4 (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) |