From: Alexander Ebert Date: Mon, 24 Jun 2013 19:24:42 +0000 (+0200) Subject: Fixed updating of style description during style update X-Git-Tag: 2.0.0_Beta_5~141 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5249695e87532ea6e50e787eb7691019bb943b31;p=GitHub%2FWoltLab%2FWCF.git Fixed updating of style description during style update --- 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);