From 8aea75d5558f9784955268b615c4e9bacac8edad Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 15 May 2013 18:35:21 +0200 Subject: [PATCH] Fixed language import during setup --- .../install/files/lib/data/language/LanguageEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php b/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php index 877ca5cd85..680756d3a4 100644 --- a/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php +++ b/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php @@ -226,7 +226,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje $repeat = count($parameters) / $step; $sql = "INSERT INTO wcf".WCF_N."_language_item - (languageID, languageItem, languageItemValue, languageCategoryID, packageID) + (languageID, languageItem, languageItemValue, languageCategoryID". ($packageID ? ", packageID" : "") . ") VALUES ".substr(str_repeat('(?, ?, ?, ?'. ($packageID ? ', ?' : '') .'), ', $repeat), 0, -2)." ON DUPLICATE KEY UPDATE languageItemValue = VALUES(languageItemValue), -- 2.20.1