mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
CustomVariableDictionary: always store an object
This commit is contained in:
parent
0c121cf4fe
commit
9d111d0db0
1 changed files with 2 additions and 2 deletions
|
|
@ -59,9 +59,9 @@ class CustomVariableDictionary extends CustomVariable implements Countable
|
|||
|
||||
public function getValue()
|
||||
{
|
||||
$ret = array();
|
||||
$ret = (object) array();
|
||||
foreach ($this->value as $key => $var) {
|
||||
$ret[$key] = $var->getValue();
|
||||
$ret->$key = $var->getValue();
|
||||
}
|
||||
|
||||
return $ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue