#3073 (feature/session): Fix a typo from ff37ffe164443e53b24d529f967a1bdf065bff3a
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php
index bf11cd1..e6ba341 100644
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -125,7 +125,7 @@
// 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']))