From 2b58cdf9394cded68ee1f63b8f14a8a5616777b2 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Tue, 28 Dec 2021 19:18:24 +0000 Subject: [PATCH] Correctly mark updateStatusMessage method as static --- CRM/Event/BAO/Participant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index 1964f75463..9a53457994 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -1477,7 +1477,7 @@ UPDATE civicrm_participant * * @return string */ - public function updateStatusMessage($participantId, $statusChangeTo, $fromStatusId) { + public static function updateStatusMessage($participantId, $statusChangeTo, $fromStatusId) { $statusMsg = NULL; $results = self::transitionParticipants([$participantId], $statusChangeTo, $fromStatusId, TRUE -- 2.25.1