From 28a8bda509b204092e91b23db191543f38999c71 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 20 Jun 2019 10:11:14 +0200 Subject: [PATCH] Fix creation of new languge xml files See #2545 See #2815 --- .../package/plugin/LanguagePackageInstallationPlugin.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php index 94ca904391..328777cfd2 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php @@ -621,6 +621,7 @@ class LanguagePackageInstallationPlugin extends AbstractXMLPackageInstallationPl */ protected function getEmptyXml($languageCode) { $xsdFilename = $this->getXsdFilename(); + $apiVersion = WSC_API_VERSION; $language = LanguageFactory::getInstance()->getLanguageByCode($languageCode); if ($language === null) { @@ -629,7 +630,7 @@ class LanguagePackageInstallationPlugin extends AbstractXMLPackageInstallationPl return << - + XML; } -- 2.20.1