Fix typo in UserActivityEventHandler
authorFabii547 <Fabii547@users.noreply.github.com>
Mon, 4 Jan 2016 12:02:29 +0000 (13:02 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 4 Jan 2016 15:17:59 +0000 (16:17 +0100)
Closes #1975

wcfsetup/install/files/lib/system/user/activity/event/UserActivityEventHandler.class.php

index 5d1db1e09bd585f159c02bc58e94ea6f610597e2..108db635ddaa8628137eb909650ed6857e45bbe1 100644 (file)
@@ -73,10 +73,10 @@ class UserActivityEventHandler extends SingletonFactory {
         * @param       integer         $languageID
         * @param       integer         $userID
         * @param       integer         $time
-        * @param       array           $additonalData
+        * @param       array           $additionalData
         * @return      \wcf\data\user\activity\event\UserActivityEvent
         */
-       public function fireEvent($objectType, $objectID, $languageID = null, $userID = null, $time = TIME_NOW, $additonalData = array()) {
+       public function fireEvent($objectType, $objectID, $languageID = null, $userID = null, $time = TIME_NOW, $additionalData = array()) {
                $objectTypeID = $this->getObjectTypeID($objectType);
                if ($objectTypeID === null) {
                        throw new SystemException("Unknown recent activity event '".$objectType."'");
@@ -91,7 +91,7 @@ class UserActivityEventHandler extends SingletonFactory {
                                'languageID' => $languageID,
                                'userID' => $userID,
                                'time' => $time,
-                               'additionalData' => serialize($additonalData)
+                               'additionalData' => serialize($additionalData)
                        )
                ));
                $returnValues = $eventAction->executeAction();