summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-10-06 07:04:44 +0200
committerAndrey Andreev <narf@devilix.net>2014-10-06 07:04:44 +0200
commit7cc3e99ebba58c260aea4c2a8d080684e067bb45 (patch)
tree41e1cf91a594101ebb2e4fd1e00c8c8d6ba0a50d /system/core
parentd40d94ca5f304d8a084accd3162163026617a606 (diff)
Update a config_item() use case for the new NULL return value
Diffstat (limited to 'system/core')
-rwxr-xr-xsystem/core/Security.php2
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;
}