Fixed missing template scripting in language variables
authorMarcel Werk <burntime@woltlab.com>
Thu, 17 May 2018 16:55:10 +0000 (18:55 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 17 May 2018 16:55:10 +0000 (18:55 +0200)
wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php

index 8ddc5e071b63aa20dece49a4e5e6e311cd86ff9a..5d463af522ec3f139619f49f4aa7459a69e779f7 100644 (file)
@@ -140,8 +140,8 @@ class ImportCLICommand implements ICLICommand {
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute();
                if ($statement->fetchColumn()) {
-                       CLIWCF::getReader()->println(StringUtil::stripHTML(WCF::getLanguage()->get('wcf.acp.dataImport.existingMapping.notice')));
-                       CLIWCF::getReader()->println(WCF::getLanguage()->get('wcf.acp.dataImport.existingMapping.confirmMessage') . ' [YN]');
+                       CLIWCF::getReader()->println(StringUtil::stripHTML(WCF::getLanguage()->getDynamicVariable('wcf.acp.dataImport.existingMapping.notice')));
+                       CLIWCF::getReader()->println(WCF::getLanguage()->getDynamicVariable('wcf.acp.dataImport.existingMapping.confirmMessage') . ' [YN]');
                        
                        $answer = CLIWCF::getReader()->readLine('> ');
                        if ($answer === null) exit;