From: Matthias Schmidt Date: Wed, 14 Jan 2015 18:08:00 +0000 (+0100) Subject: Fix listing of packages during language export X-Git-Tag: 2.1.0_Beta_4~97 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6138703fd3cb7ff803daf5ee96896840c371d5b5;p=GitHub%2FWoltLab%2FWCF.git Fix listing of packages during language export --- diff --git a/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php b/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php index 8496570a43..e2b133b8a3 100644 --- a/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php @@ -158,7 +158,7 @@ class LanguageExportForm extends AbstractForm { FROM wcf".WCF_N."_package ORDER BY packageName"; $statement = WCF::getDB()->prepareStatement($sql); - $statement->execute(array($this->languageID)); + $statement->execute(); while ($row = $statement->fetchArray()) { $row['packageNameLength'] = mb_strlen(WCF::getLanguage()->get($row['packageName'])); $this->packages[] = new Package(null, $row);