commit | 7cc3e99ebba58c260aea4c2a8d080684e067bb45 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Oct 06 08:04:44 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Oct 06 08:04:44 2014 +0300 |
tree | 41e1cf91a594101ebb2e4fd1e00c8c8d6ba0a50d | |
parent | d40d94ca5f304d8a084accd3162163026617a606 [diff] |
Update a config_item() use case for the new NULL return value
diff --git a/system/core/Security.php b/system/core/Security.php index cffdb9a..71d4b37 100755 --- a/system/core/Security.php +++ b/system/core/Security.php
@@ -163,7 +163,7 @@ // 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; }