From edf1b21046d3ec5e247c995076e396fe79bc824b Mon Sep 17 00:00:00 2001 From: Eileen Date: Fri, 3 Jan 2014 16:00:25 +1300 Subject: [PATCH] Participant Test E-Notice compliance --- 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 ce23b03107..bcb8478412 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -219,7 +219,7 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant { $session = CRM_Core_Session::singleton(); $id = $session->get('userID'); if (!$id) { - $id = $params['contact_id']; + $id = CRM_Utils_Array::value('contact_id', $params); } // add custom field values -- 2.25.1