From 7cc3e99ebba58c260aea4c2a8d080684e067bb45 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 6 Oct 2014 08:04:44 +0300 Subject: Update a config_item() use case for the new NULL return value --- system/core/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/core') 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; } -- cgit v1.2.3-24-g4f1b