From: Alexander Ebert Date: Wed, 25 Sep 2024 09:44:46 +0000 (+0200) Subject: Fix the export of the i18n values for filebase licenses X-Git-Tag: 6.1.0_Beta_2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=009382a521da24312e286d374e73b96895567018;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Fix the export of the i18n values for filebase licenses See https://www.woltlab.com/community/thread/308281-import-einer-woltlab-suite-mit-einem-anderen-tabellen-prefix-nicht-m%C3%B6glich/ --- diff --git a/files/lib/system/exporter/WBB4xExporter.class.php b/files/lib/system/exporter/WBB4xExporter.class.php index e91b177..f52edb2 100644 --- a/files/lib/system/exporter/WBB4xExporter.class.php +++ b/files/lib/system/exporter/WBB4xExporter.class.php @@ -3076,8 +3076,8 @@ final class WBB4xExporter extends AbstractExporter $statement->execute([$offset + 1, $offset + $limit]); $sql = "SELECT language_item.languageItemValue, language.languageCode - FROM wcf1_language_item language_item - LEFT JOIN wcf1_language language ON (language.languageID = language_item.languageID) + FROM wcf" . $this->dbNo . "_language_item language_item + LEFT JOIN wcf" . $this->dbNo . "_language language ON (language.languageID = language_item.languageID) WHERE language_item.languageItem = ?"; $languageStatement = $this->database->prepareStatement($sql);