Fixed scripting in language variables
authorMarcel Werk <burntime@woltlab.com>
Sun, 21 Aug 2016 10:44:51 +0000 (12:44 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 21 Aug 2016 10:44:51 +0000 (12:44 +0200)
files/lib/data/conversation/message/ConversationMessageAction.class.php

index 82c2181c254d768b273136b4f942f02e9027f3b8..734be6c281cc34db171f63dc71d548e3bab25149 100644 (file)
@@ -415,7 +415,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements
                $this->readString('message', true, 'data');
                
                if (empty($this->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'));
                }
                
                $this->validateBeginEdit();