Changes of the last few months including restructuring system from using only ranks to permissions
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
$this->db->cache_delete('Main', 'getNotifications');
|
||||
|
||||
// Send email
|
||||
$email = $this->UserModel->getUserEmailByID($notification->sender->getId());
|
||||
$email = $this->UserModel->getUserEmailByID($notification->recipient->getId());
|
||||
$group = new NotificationGroup([$notification], 1);
|
||||
$messageData = $group->message();
|
||||
$message = sprintf(lang($messageData['line']), ...$messageData['attributes']);
|
||||
|
Reference in New Issue
Block a user