From 375d3c5e33140053030e75faf770bea642d8a603 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 6 Dec 2013 23:29:23 +0100 Subject: [PATCH] Fix saving of languageID for synonyms in TagEditForm --- wcfsetup/install/files/lib/acp/form/TagEditForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php index 0788085307..9dc1a433e7 100644 --- a/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php @@ -82,11 +82,11 @@ class TagEditForm extends TagAddForm { if (empty($synonym)) continue; // find existing tag - $synonymObj = Tag::getTag($synonym, $this->languageID); + $synonymObj = Tag::getTag($synonym, $this->tagObj->languageID); if ($synonymObj === null) { $synonymAction = new TagAction(array(), 'create', array('data' => array( 'name' => $synonym, - 'languageID' => $this->languageID, + 'languageID' => $this->tagObj->languageID, 'synonymFor' => $this->tagID ))); $synonymAction->executeAction(); -- 2.20.1