Fix the i18n description using the values of the i18n title
authorAlexander Ebert <ebert@woltlab.com>
Fri, 1 Nov 2024 15:36:59 +0000 (16:36 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 1 Nov 2024 15:36:59 +0000 (16:36 +0100)
See https://www.woltlab.com/community/thread/309259-trophies-category-description-unchanged/

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

index 28d0e7e418578310c6e139748b9ce3ec885895d2..dc04387f617657f5d78778748588996ba987964d 100644 (file)
@@ -472,7 +472,7 @@ abstract class CategoryAddFormBuilderForm extends AbstractFormBuilderForm
             $languageItem = "{$processor->getI18nLangVarPrefix()}.description.category{$category->getObjectID()}";
             $updateData['description'] = $languageItem;
             I18nHandler::getInstance()->save(
-                $formData['title_i18n'],
+                $formData['description_i18n'],
                 $languageItem,
                 $processor->getDescriptionLangVarCategory(),
                 $category->getObjectType()->packageID