diff options
author | Andrey Andreev <narf@devilix.net> | 2014-10-06 07:04:44 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-10-06 07:04:44 +0200 |
commit | 7cc3e99ebba58c260aea4c2a8d080684e067bb45 (patch) | |
tree | 41e1cf91a594101ebb2e4fd1e00c8c8d6ba0a50d /system | |
parent | d40d94ca5f304d8a084accd3162163026617a606 (diff) |
Update a config_item() use case for the new NULL return value
Diffstat (limited to 'system')
-rwxr-xr-x | system/core/Security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php index cffdb9ad9..71d4b37d7 100755 --- a/system/core/Security.php +++ b/system/core/Security.php @@ -163,7 +163,7 @@ class CI_Security { // CSRF config foreach (array('csrf_expire', 'csrf_token_name', 'csrf_cookie_name') as $key) { - if (FALSE !== ($val = config_item($key))) + if (NULL !== ($val = config_item($key))) { $this->{'_'.$key} = $val; } |