Fixed scripting in language variables
authorMarcel Werk <burntime@woltlab.com>
Sun, 21 Aug 2016 10:44:11 +0000 (12:44 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 21 Aug 2016 10:44:15 +0000 (12:44 +0200)
wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php

index e192eba93c84d80910f01f3bdfb0197520cd4bf2..9767392693836ae5183d158ee0a86a63af4bd1d6 100644 (file)
@@ -111,7 +111,7 @@ class QuickReplyManager extends SingletonFactory {
                $parameters['data']['message'] = StringUtil::trim(MessageUtil::stripCrap($parameters['data']['message']));
                
                if (empty($parameters['data']['message'])) {
-                       throw new UserInputException('message', WCF::getLanguage()->get('wcf.global.form.error.empty'));
+                       throw new UserInputException('message', WCF::getLanguage()->getDynamicVariable('wcf.global.form.error.empty'));
                }
                
                $parameters['lastPostTime'] = isset($parameters['lastPostTime']) ? intval($parameters['lastPostTime']) : 0;