summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers/Session_cookie.php
diff options
context:
space:
mode:
authordchill42 <dchill42@gmail.com>2012-07-24 17:50:01 +0200
committerdchill42 <dchill42@gmail.com>2012-07-24 17:50:01 +0200
commit77ee3fdac34d317b600a269e0b845588c88fa4c5 (patch)
tree4f1d9a33c60bfde22bb376af30c7b2cd34801fdc /system/libraries/Session/drivers/Session_cookie.php
parent42b77a9a1a5d4ec7ceb94b421b12af9c442769ba (diff)
Cleaned up bangs and lowercase booleans, and fixed userdata return on not found to NULL
Diffstat (limited to 'system/libraries/Session/drivers/Session_cookie.php')
-rwxr-xr-xsystem/libraries/Session/drivers/Session_cookie.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_cookie.php b/system/libraries/Session/drivers/Session_cookie.php
index 255a1ae3e..e39ada052 100755
--- a/system/libraries/Session/drivers/Session_cookie.php
+++ b/system/libraries/Session/drivers/Session_cookie.php
@@ -516,7 +516,7 @@ class CI_Session_cookie extends CI_Session_driver {
protected function _sess_update($force = FALSE)
{
// We only update the session every five minutes by default (unless forced)
- if (!$force && ($this->userdata['last_activity'] + $this->sess_time_to_update) >= $this->now)
+ if ( ! $force && ($this->userdata['last_activity'] + $this->sess_time_to_update) >= $this->now)
{
return;
}