Adds missing message validation when adding comment response
authorMatthias Schmidt <gravatronics@live.com>
Wed, 26 Mar 2014 18:53:53 +0000 (19:53 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 26 Mar 2014 18:53:53 +0000 (19:53 +0100)
wcfsetup/install/files/lib/data/comment/CommentAction.class.php

index 7a19525f38281d4bdc76888e217d7a34d37efa8b..44f156920df8df8fe883009914ffd4fef242ca6b 100644 (file)
@@ -222,6 +222,7 @@ class CommentAction extends AbstractDatabaseObjectAction {
                CommentHandler::enforceFloodControl();
                
                $this->readInteger('objectID', false, 'data');
+               $this->validateMessage();
                
                // validate comment id
                $this->validateCommentID();