]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/View.php
Don't insert non public comments on not existing thread parents
[friendica.git] / src / Database / View.php
index d64e544cc087b2252f97b997b156c298b7ecc07f..9fe44bd759226369259d6d14dc47110c08c667ac 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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)) {