diff options
author | Andrey Andreev <narf@devilix.net> | 2014-10-05 23:00:08 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-10-05 23:00:08 +0200 |
commit | d444d445ed0458a352ecb9ff79ffd158677ee805 (patch) | |
tree | dcdbe4b38dbb343498b2ea2a37556cb358cd5720 /tests | |
parent | 86d7eadf102c798f2aa70a86e86fd0f5050d9574 (diff) |
config_item() to return NULL instead of FALSE for non-existing items
Close #3001
Close #3232
Related: #3244
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mocks/core/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mocks/core/common.php b/tests/mocks/core/common.php index 5c32ca5c2..2e8265b15 100644 --- a/tests/mocks/core/common.php +++ b/tests/mocks/core/common.php @@ -32,7 +32,7 @@ if ( ! function_exists('config_item')) if ( ! isset($config[$item])) { - return FALSE; + return NULL; } return $config[$item]; |