diff --git a/inc/form.class.php b/inc/form.class.php index 71b640aa6..e0d29efc2 100644 --- a/inc/form.class.php +++ b/inc/form.class.php @@ -2001,7 +2001,6 @@ public function showForCentral() { } $form_query = PluginFormcreatorForm::getFormListQuery(); - $form_query['DISTINCT'] = true; $form_query['SELECT'] = [ $form_table => ['id', 'name', 'description', $formCategoryFk], ]; @@ -2677,6 +2676,7 @@ public static function getFormListQuery() { $entityRestrict = $dbUtils->getEntitiesRestrictCriteria($formTable, '', '', true, false, (new PluginFormcreatorForm())->maybeRecursive()); $condition = [ + 'DISTINCT' => true, 'FROM' => $formTable, 'LEFT JOIN' => [ $formLanguageTable => [