summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-08-19 04:52:00 +0200
committervlakoff <vlakoff@gmail.com>2013-08-19 04:52:00 +0200
commit67e5ca678a43a00aecd46cb6d02cfbf9c36d666b (patch)
treed8ac0334b949b72d12a7b36abc4bd34b1623c4aa
parent2f7810a36b488a1b3d3dfd3ba8eb6bfbbe91f9ff (diff)
Allow items to be set even if they were not present yet
-rw-r--r--system/core/Common.php7
1 files changed, 2 insertions, 5 deletions
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;