From: Alexander Ebert Date: Mon, 11 Jun 2012 14:41:50 +0000 (+0200) Subject: Fixed variable and column name X-Git-Tag: 2.0.0_Beta_1~1006^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2827cf954183c5de0aeac2e48bc2eef44bbbe212;p=GitHub%2FWoltLab%2FWCF.git Fixed variable and column name --- diff --git a/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php b/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php index 0903cbaa41..85cf43a755 100644 --- a/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php +++ b/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php @@ -53,13 +53,13 @@ class ModificationLogHandler extends SingletonFactory { * @param string $objectType * @param integer $objectID * @param string $action - * @param array $data + * @param array $additionalData * @param integer $time * @param integer $userID * @param string $username * @return wcf\data\modification\log\ModificationLog */ - public function add($objectType, $objectID, $action, array $data = array(), $time = TIME_NOW, $userID = null, $username = null) { + public function add($objectType, $objectID, $action, array $additionalData = array(), $time = TIME_NOW, $userID = null, $username = null) { $objectType = $this->getObjectType($objectType); if ($objectType === null) { throw new SystemException("Object type '".$objectType."' not found within definition 'com.woltlab.wcf.modifiableContent'"); @@ -71,7 +71,7 @@ class ModificationLogHandler extends SingletonFactory { 'userID' => ($userID === null ? WCF::getUser()->userID : $userID), 'username' => ($username === null ? WCF::getUser()->username : $username), 'time' => $time, - 'data' => serialize($data) + 'additionalData' => serialize($additionalData) )); }