From e53b230eb6a64b3e34bf92ab6e70773d6b47886f Mon Sep 17 00:00:00 2001
From: Camilo Ernesto Escobar Bedoya <escobar@urbaninsight.com>
Date: Fri, 2 Jun 2023 11:01:22 -0500
Subject: [PATCH] Issue #3362297 Correct the name of the alter hook
 recurring_events_registration_message_params

---
 .../recurring_events_registration/src/NotificationService.php  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/recurring_events_registration/src/NotificationService.php b/modules/recurring_events_registration/src/NotificationService.php
index 9112300..24373e6 100644
--- a/modules/recurring_events_registration/src/NotificationService.php
+++ b/modules/recurring_events_registration/src/NotificationService.php
@@ -497,8 +497,7 @@ class NotificationService {
       // Allow modules to add data to the `$params`. They can get the data from
       // `$registrant`. Those `$params` are used later as the
       // `$message['params']` in mail hooks.
-      $this->moduleHandler->alter('recurring_events_registration_message_params_alter', $params, $registrant);
-
+      $this->moduleHandler->alter('recurring_events_registration_message_params', $params, $registrant);
       $item->params = $params;
 
       // Add the item to the queue.
-- 
GitLab