From: Marcel Werk Date: Tue, 27 May 2014 19:09:36 +0000 (+0200) Subject: Fixed typo X-Git-Tag: 2.0.7~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2231451ab29a2c257f84e6de80ab663b44b8be9c;p=GitHub%2FWoltLab%2FWCF.git Fixed typo --- 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();