diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-26 11:13:59 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-26 11:13:59 +0100 |
commit | 4abd0945f1204e40f7ae356e99592655a430ed11 (patch) | |
tree | 76eb629e78fdb46115b9978876fbb50eb9bb7346 /system/libraries/Session/drivers | |
parent | f5513d6ac0ddc3f6a37df6f370c172cd1b2bfadb (diff) |
Manually implement PR #2033
Check for an empty encryption_key shouldn't use strict comparison.
Diffstat (limited to 'system/libraries/Session/drivers')
-rw-r--r-- | system/libraries/Session/drivers/Session_cookie.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_cookie.php b/system/libraries/Session/drivers/Session_cookie.php index 3c4848265..6d926ae3d 100644 --- a/system/libraries/Session/drivers/Session_cookie.php +++ b/system/libraries/Session/drivers/Session_cookie.php @@ -219,7 +219,7 @@ class CI_Session_cookie extends CI_Session_driver { : $this->CI->config->item($key); } - if ($this->encryption_key === '') + if (empty($this->encryption_key)) { show_error('In order to use the Cookie Session driver you are required to set an encryption key in your config file.'); } |