commit | 67e5ca678a43a00aecd46cb6d02cfbf9c36d666b | [log] [tgz] |
---|---|---|
author | vlakoff <vlakoff@gmail.com> | Mon Aug 19 04:52:00 2013 +0200 |
committer | vlakoff <vlakoff@gmail.com> | Mon Aug 19 04:52:00 2013 +0200 |
tree | d8ac0334b949b72d12a7b36abc4bd34b1623c4aa | |
parent | 2f7810a36b488a1b3d3dfd3ba8eb6bfbbe91f9ff [diff] [blame] |
Allow items to be set even if they were not present yet
diff --git a/system/core/Common.php b/system/core/Common.php index 50bcd92..6b3d731 100644 --- a/system/core/Common.php +++ b/system/core/Common.php
@@ -265,13 +265,10 @@ $_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;