From bc6779fe74cf60e0d2d971cee404cb9bf1b8da31 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 22 Oct 2021 16:27:40 +1300 Subject: [PATCH] Remove unnecessary pass-by-reference --- CRM/Mailing/Event/BAO/Subscribe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/Event/BAO/Subscribe.php b/CRM/Mailing/Event/BAO/Subscribe.php index 71baa417fe..b02455d0cb 100644 --- a/CRM/Mailing/Event/BAO/Subscribe.php +++ b/CRM/Mailing/Event/BAO/Subscribe.php @@ -335,7 +335,7 @@ SELECT civicrm_email.id as email_id * during event registration. * @param string $context */ - public static function commonSubscribe(&$groups, &$params, $contactId = NULL, $context = NULL) { + public static function commonSubscribe($groups, $params, $contactId = NULL, $context = NULL) { $contactGroups = CRM_Mailing_Event_BAO_Subscribe::getContactGroups($params['email'], $contactId); $group = []; $success = NULL; -- 2.25.1