From: Philipp Date: Fri, 16 Dec 2022 21:05:32 +0000 (+0100) Subject: Add load(true) for ViewDefinitions as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0cc0f0d7b8df9b9459e3c56b1fbfd775fd52439;p=friendica.git Add load(true) for ViewDefinitions as well --- diff --git a/src/Database/View.php b/src/Database/View.php index d64e544cc0..ca6078956b 100644 --- a/src/Database/View.php +++ b/src/Database/View.php @@ -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)) {