From 02fab4bcd74920659b6900c9771cada46ac89e34 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 21 Aug 2016 12:44:11 +0200 Subject: [PATCH] Fixed scripting in language variables --- .../files/lib/system/message/QuickReplyManager.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php b/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php index e192eba93c..9767392693 100644 --- a/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php +++ b/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php @@ -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; -- 2.20.1