]> git.mxchange.org Git - friendica.git/commitdiff
Add load(true) for ViewDefinitions as well
authorPhilipp <admin@philipp.info>
Fri, 16 Dec 2022 21:05:32 +0000 (22:05 +0100)
committerPhilipp <admin@philipp.info>
Fri, 16 Dec 2022 21:05:32 +0000 (22:05 +0100)
src/Database/View.php

index d64e544cc087b2252f97b997b156c298b7ecc07f..ca6078956b5b4e2819e3c1b1a5d57d5c9b3d7311 100644 (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)) {