Add load(true) for ViewDefinitions as well

This commit is contained in:
Philipp Holzer 2022-12-16 22:05:32 +01:00
parent 1c789d487b
commit b0cc0f0d7b
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -49,7 +49,8 @@ class View
}
}
$definition = DI::viewDefinition()->getAll();
// just for Create purpose, reload the view definition with addons to explicit get the whole definition
$definition = DI::viewDefinition()->load(true)->getAll();
foreach ($definition as $name => $structure) {
if (self::isView($name)) {