From 29c4866a926f7038ebc8a054b865fb295329a37a Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Wed, 10 Feb 2016 16:19:03 +0000 Subject: [PATCH] CRM-18013: Profile default value issue --- CRM/Event/BAO/Event.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index e18b793c21..af57ba5966 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1467,10 +1467,11 @@ WHERE civicrm_event.is_active = 1 break; } } - $customVal = ''; + $imProviders = CRM_Core_PseudoConstant::get('CRM_Core_DAO_IM', 'provider_id'); //start of code to set the default values foreach ($fields as $name => $field) { + $customVal = ''; $skip = FALSE; // skip fields that should not be displayed separately if ($field['skipDisplay']) { -- 2.25.1