config: possibility to save StdClass
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user