From 67e5ca678a43a00aecd46cb6d02cfbf9c36d666b Mon Sep 17 00:00:00 2001 From: vlakoff Date: Mon, 19 Aug 2013 04:52:00 +0200 Subject: Allow items to be set even if they were not present yet --- system/core/Common.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'system') diff --git a/system/core/Common.php b/system/core/Common.php index 50bcd9278..6b3d73100 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -265,13 +265,10 @@ if ( ! function_exists('get_config')) $_config[0] =& $config; } - // Are any values being dynamically replaced? + // Are any values being dynamically added or replaced? foreach ($replace as $key => $val) { - if (isset($config[$key])) - { - $config[$key] = $val; - } + $config[$key] = $val; } return $config; -- cgit v1.2.3-24-g4f1b