From a4e49a482a530308806972c67a7a982a50edd9e1 Mon Sep 17 00:00:00 2001 From: CiviCRM Date: Wed, 11 Jun 2014 22:43:21 +0530 Subject: [PATCH] CRM-14653 notice fix ---------------------------------------- * CRM-14653: Upgrade Discount Listing page for new enableDisable method https://issues.civicrm.org/jira/browse/CRM-14653 --- CRM/Event/Form/Participant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index baa0440b6f..cf82ce510b 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -561,7 +561,7 @@ class CRM_Event_Form_Participant extends CRM_Contact_Form_Task { $roleID = $submittedRole[0]; } $submittedEvent = $this->getElementValue('event_id'); - if ($submittedEvent[0]) { + if (!empty($submittedEvent[0])) { $eventID = $submittedEvent[0]; } } -- 2.25.1