diff --git a/action/add_comment.php b/action/add_comment.php
index 221817075b9ed52ca89e19febb1e9a6b8c8e0423..dd3e247cce6a01b71eb7b7cc052e12fb5ca07130 100644
--- a/action/add_comment.php
+++ b/action/add_comment.php
@@ -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'));
         }