summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers
diff options
context:
space:
mode:
authorMichael Long <mchobbylong@gmail.com>2019-09-03 19:25:03 +0200
committerMichael Long <mchobbylong@gmail.com>2019-09-03 19:25:03 +0200
commitb83c5072d8a359c09dbb99d280193608b802ac3f (patch)
tree6e5458d3c96a2b77043273263354135b54410d0b /system/libraries/Session/drivers
parent66b1bf6145537b02e7386e783ffd60112f33baf6 (diff)
Alter php5_validate_id()
Diffstat (limited to 'system/libraries/Session/drivers')
-rw-r--r--system/libraries/Session/drivers/Session_redis_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php
index 9ff6a0e1f..33295cb45 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -168,8 +168,8 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle
}
else
{
- $this->php5_validate_id();
$this->_redis = $redis;
+ $this->php5_validate_id();
return $this->_success;
}
}