mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Add load(true) for ViewDefinitions as well
This commit is contained in:
parent
1c789d487b
commit
b0cc0f0d7b
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
foreach ($definition as $name => $structure) {
|
||||||
if (self::isView($name)) {
|
if (self::isView($name)) {
|
||||||
|
|
Loading…
Reference in a new issue