mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
BasketDiff: normalize all base objects
This commit is contained in:
parent
df10d6a924
commit
c42fc4498a
@ -64,6 +64,7 @@ class BasketDiff
|
|||||||
} else {
|
} else {
|
||||||
$exported = null;
|
$exported = null;
|
||||||
}
|
}
|
||||||
|
CompareBasketObject::normalize($exported);
|
||||||
|
|
||||||
return $exported;
|
return $exported;
|
||||||
}
|
}
|
||||||
@ -78,9 +79,9 @@ class BasketDiff
|
|||||||
if ($fields === null) {
|
if ($fields === null) {
|
||||||
unset($reExport->fields);
|
unset($reExport->fields);
|
||||||
} else {
|
} else {
|
||||||
CompareBasketObject::normalize($fields);
|
|
||||||
$reExport->fields = $fields;
|
$reExport->fields = $fields;
|
||||||
}
|
}
|
||||||
|
CompareBasketObject::normalize($reExport);
|
||||||
|
|
||||||
return $reExport;
|
return $reExport;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user