Set empty string as default value for `title`, this will be overwritten if `title...
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 7 Oct 2024 06:09:31 +0000 (08:09 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 7 Oct 2024 06:09:31 +0000 (08:09 +0200)
See https://www.woltlab.com/community/thread/308470-beta-2-multilinguale-kategorie-für-trophäen-erstellen-schlägt-fehl/

wcfsetup/install/files/lib/acp/form/CategoryAddFormBuilderForm.class.php

index 4dce0a74c78b6fae1f48157803f7d0a0ff7e698e..28d0e7e418578310c6e139748b9ce3ec885895d2 100644 (file)
@@ -93,6 +93,13 @@ abstract class CategoryAddFormBuilderForm extends AbstractFormBuilderForm
      */
     public $objectActionClass = CategoryAction::class;
 
+    /**
+     * @inheritDoc
+     */
+    public $additionalFields = [
+        'title' => '',
+    ];
+
     /**
      * @inheritDoc
      */