summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-10-05 23:00:08 +0200
committerAndrey Andreev <narf@devilix.net>2014-10-05 23:00:08 +0200
commitd444d445ed0458a352ecb9ff79ffd158677ee805 (patch)
treedcdbe4b38dbb343498b2ea2a37556cb358cd5720 /system/core/Common.php
parent86d7eadf102c798f2aa70a86e86fd0f5050d9574 (diff)
config_item() to return NULL instead of FALSE for non-existing items
Close #3001 Close #3232 Related: #3244
Diffstat (limited to 'system/core/Common.php')
-rw-r--r--system/core/Common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index b5a696c68..504e22571 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -289,7 +289,7 @@ if ( ! function_exists('config_item'))
$_config[0] =& get_config();
}
- return isset($_config[0][$item]) ? $_config[0][$item] : FALSE;
+ return isset($_config[0][$item]) ? $_config[0][$item] : NULL;
}
}