config: possibility to save StdClass

This commit is contained in:
Taras Machyshyn
2014-08-11 17:35:49 +03:00
parent aae3afc895
commit ba4c8e0afd
+5
View File
@@ -112,6 +112,11 @@ class Config
}
foreach ($name as $key => $value) {
if (is_object($value)) {
$value = (array) $value;
}
$this->data[$key] = $value;
$this->changedData[$key] = $value;
}