From 5249695e87532ea6e50e787eb7691019bb943b31 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 24 Jun 2013 21:24:42 +0200 Subject: [PATCH] Fixed updating of style description during style update --- wcfsetup/install/files/lib/data/style/StyleEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php index 9b09ae587d..eca37ce980 100644 --- a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php @@ -493,7 +493,7 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject */ protected static function saveLocalizedDescriptions(StyleEditor $styleEditor, array $descriptions) { // localize package information - $sql = "INSERT INTO wcf".WCF_N."_language_item + $sql = "REPLACE INTO wcf".WCF_N."_language_item (languageID, languageItem, languageItemValue, languageCategoryID, packageID) VALUES (?, ?, ?, ?, ?)"; $statement = WCF::getDB()->prepareStatement($sql); -- 2.20.1