When making config, set the original values too

This commit is contained in:
Sam Georges 2014-06-30 20:34:07 +10:00
parent 3a275216e2
commit 9381bc3628
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ trait ConfigMaker
return $object;
foreach ($configArray as $name => $value) {
$name = camel_case($name);
$object->{$name} = $value;
$_name = camel_case($name);
$object->{$name} = $object->{$_name} = $value;
}
return $object;