mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-07-25 02:47:01 +00:00
Update add_comment.php: update sendUpdateNotification parameters order
This commit is contained in:
parent
c5b9c4152d
commit
451b299bc3
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ if (!$poll) {
|
|||
$result = $pollService->addComment($poll_id, $name, $comment);
|
||||
if ($result) {
|
||||
$message = new Message('success', __('Comments', 'Comment added'));
|
||||
$notificationService->sendUpdateNotification($poll, $mailService, $name, NotificationService::ADD_COMMENT);
|
||||
$notificationService->sendUpdateNotification($poll, NotificationService::ADD_COMMENT, $name);
|
||||
} else {
|
||||
$message = new Message('danger', __('Error', 'Comment failed'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue