summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-09-05 14:27:55 +0200
committerAndrey Andreev <narf@devilix.net>2019-09-05 14:33:30 +0200
commit51834f2894b2e42539e11dd52620dd2ec1abd3c6 (patch)
tree988cd5815c935da3b3a69d798c343793e644baae /system
parentb8b28b279f1b4b354a69a0c614c96c5c44574999 (diff)
[ci skip] Merge pull request #5828 from mchobbylong/alter-php5-validate-id
Alter php5_validate_id()
Diffstat (limited to 'system')
-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 0a715748d..0609fda95 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -149,8 +149,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;
}