Fixed wrong option type name
authorMarcel Werk <burntime@woltlab.com>
Tue, 17 Jan 2017 17:22:07 +0000 (18:22 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 17 Jan 2017 17:22:07 +0000 (18:22 +0100)
Closes #1924

wcfsetup/install/files/lib/data/comment/CommentAction.class.php

index 58f6b011a750b092c80c7b9c21fc6b7066351622..baa832c58c4ae07647f0a5c2258a04975145ca78 100644 (file)
@@ -356,7 +356,7 @@ class CommentAction extends AbstractDatabaseObjectAction {
                
                // fire notification event
                if (UserNotificationHandler::getInstance()->getObjectTypeID($objectType->objectType.'.response.notification')) {
-                       $notificationObjectType = UserNotificationHandler::getInstance()->getObjectTypeProcessor($objectType->objectType.'.notification');
+                       $notificationObjectType = UserNotificationHandler::getInstance()->getObjectTypeProcessor($objectType->objectType.'.response.notification');
                        $userID = $notificationObjectType->getOwnerID($this->comment->commentID);
                        
                        $notificationObject = new CommentResponseUserNotificationObject($this->createdResponse);