Fix name of called method
authorMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 20:49:45 +0000 (22:49 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 20:49:45 +0000 (22:49 +0200)
wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentResponseUserNotificationEvent.class.php

index eecac0d9c170accc70102b6267ea809fdc3d2855..c0c1c4e9616e929e7461896b21714ed086b8ccc2 100644 (file)
@@ -76,7 +76,7 @@ class ModerationQueueCommentResponseUserNotificationEvent extends AbstractShared
                        ]);
                }
                
-               $comment = CommentRuntimeCache::getInstance()->getComment($this->userNotificationObject->commentID);
+               $comment = CommentRuntimeCache::getInstance()->getObject($this->userNotificationObject->commentID);
                if ($comment->userID) {
                        $commentAuthor = UserProfileRuntimeCache::getInstance()->getObject($comment->userID);
                }