summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-06-19 15:10:51 +0200
committerAndrey Andreev <narf@devilix.net>2019-06-19 15:15:20 +0200
commit24bf8cc6833435e5243942e29314496bb4d997ef (patch)
tree5c68e4d423abf8604d9003ad545743fba076d12f /system/libraries/Session/drivers
parent8be08b573a802e47580b9371bf1564557f8ef345 (diff)
[ci skip] Merge pull request #5781 from gxgpet/develop
Fixes php5_validate_id() method calling from Redis session driver
Diffstat (limited to 'system/libraries/Session/drivers')
-rw-r--r--system/libraries/Session/drivers/Session_redis_driver.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php
index d7777cdb3..0a715748d 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -149,12 +149,11 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle
}
else
{
+ $this->php5_validate_id();
$this->_redis = $redis;
return $this->_success;
}
- $this->php5_validate_id();
-
return $this->_failure;
}