mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
Pass $resolved as False for arguments to toPlainObject()
IcingaArguments passes the $resolved through to the individual argument in the toPlainObject. There lies the error, simply pass false - because the argument itself cannot have any parents and therefore cannot be resolved
This commit is contained in:
parent
378ef5d686
commit
6289bf065f
@ -2826,7 +2826,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||
|
||||
if ($this instanceof ObjectWithArguments) {
|
||||
$props['arguments'] = $this->arguments()->toPlainObject(
|
||||
$resolved,
|
||||
false,
|
||||
$skipDefaults
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user