1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Use ArrayUtil::toIntegerArray() on $this->parameters['recipients']

This commit is contained in:
Maximilian Mader 2014-12-10 00:24:23 +01:00
parent c2cceb5f27
commit 430c0e4ad1

View File

@ -60,6 +60,6 @@ public function validateInvite() {
* Invites users. * Invites users.
*/ */
public function invite() { public function invite() {
\wcf\system\user\notification\UserNotificationHandler::getInstance()->fireEvent('invited', 'be.bastelstu.chat.room', new \chat\system\user\notification\object\RoomUserNotificationObject($this->room), $this->parameters['recipients'], array('userID' => WCF::getUser()->userID)); \wcf\system\user\notification\UserNotificationHandler::getInstance()->fireEvent('invited', 'be.bastelstu.chat.room', new \chat\system\user\notification\object\RoomUserNotificationObject($this->room), \wcf\util\ArrayUtil::toIntegerArray($this->parameters['recipients']), array('userID' => WCF::getUser()->userID));
} }
} }