summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-11-04 11:31:03 +0100
committerAndrey Andreev <narf@devilix.net>2014-11-04 11:31:03 +0100
commitde5c246dfcaf1c92e8b77830249df44b3cca2e8c (patch)
tree7e3665d00190e4a87fcc7ab28e5b1385eb79b4ad /system/libraries
parentff37ffe164443e53b24d529f967a1bdf065bff3a (diff)
#3073 (feature/session): Fix a typo from ff37ffe164443e53b24d529f967a1bdf065bff3a
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Session/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php
index bf11cd181..e6ba341dd 100644
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -125,7 +125,7 @@ class CI_Session {
// Is session ID auto-regeneration configured? (ignoring ajax requests)
if ( ! empty($_SERVER['HTTP_X_REQUESTED_WITH'])
&& strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest'
- && $regenerate_time = config_item('sess_time_to_update')) > 0
+ && ($regenerate_time = config_item('sess_time_to_update')) > 0
)
{
if ( ! isset($_SESSION['__ci_last_regenerate']))