From 2231451ab29a2c257f84e6de80ab663b44b8be9c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 27 May 2014 21:09:36 +0200 Subject: [PATCH] Fixed typo --- .../event/ProfileCommentUserActivityEvent.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/user/activity/event/ProfileCommentUserActivityEvent.class.php b/wcfsetup/install/files/lib/system/user/activity/event/ProfileCommentUserActivityEvent.class.php index 3361be3865..01be02859a 100644 --- a/wcfsetup/install/files/lib/system/user/activity/event/ProfileCommentUserActivityEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/activity/event/ProfileCommentUserActivityEvent.class.php @@ -21,16 +21,16 @@ class ProfileCommentUserActivityEvent extends SingletonFactory implements IUserA * @see \wcf\system\user\activity\event\IUserActivityEvent::prepare() */ public function prepare(array $events) { - $comments = $comentIDs = array(); + $comments = $commentIDs = array(); if (WCF::getSession()->getPermission('user.profile.canViewUserProfile')) { foreach ($events as $event) { - $comentIDs[] = $event->objectID; + $commentIDs[] = $event->objectID; } // fetch comments $commentList = new CommentList(); - $commentList->getConditionBuilder()->add("comment.commentID IN (?)", array($comentIDs)); + $commentList->getConditionBuilder()->add("comment.commentID IN (?)", array($commentIDs)); $commentList->readObjects(); $comments = $commentList->getObjects(); -- 2.20.1