Add load(true) for ViewDefinitions as well

This commit is contained in:
Philipp 2022-12-16 22:05:32 +01:00
parent 1c789d487b
commit b0cc0f0d7b
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
1 changed files with 2 additions and 1 deletions

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)) {