summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-09-05 14:27:55 +0200
committerGitHub <noreply@github.com>2019-09-05 14:27:55 +0200
commit09c739ec9bc584197210f5a6d9f7e3f3dd13ce16 (patch)
tree36218691f45402a156ee12764196b909baafc634 /system
parenta66c71e131c2a7f05d57b03c8619d9bdd542b5bf (diff)
parentb83c5072d8a359c09dbb99d280193608b802ac3f (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 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;
}
}