From: Marcel Werk Date: Sun, 21 Aug 2016 10:44:11 +0000 (+0200) Subject: Fixed scripting in language variables X-Git-Tag: 3.0.0_Beta_1~627 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02fab4bcd74920659b6900c9771cada46ac89e34;p=GitHub%2FWoltLab%2FWCF.git Fixed scripting in language variables --- 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;