mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
BasketSnapshot: small fix
This commit is contained in:
parent
5295165386
commit
5404e32f6d
@ -194,7 +194,7 @@ class BasketSnapshot extends DbObject
|
|||||||
$fieldResolver->storeNewFields();
|
$fieldResolver->storeNewFields();
|
||||||
foreach ($this->restoreOrder as $typeName) {
|
foreach ($this->restoreOrder as $typeName) {
|
||||||
if (isset($all->$typeName)) {
|
if (isset($all->$typeName)) {
|
||||||
$objects = $all->$typeName;
|
$objects = (array) $all->$typeName;
|
||||||
$class = static::getClassForType($typeName);
|
$class = static::getClassForType($typeName);
|
||||||
|
|
||||||
$changed = [];
|
$changed = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user