From 7f3d8869027021558a3dace4156f9d18166b6d86 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Wed, 10 Feb 2016 16:22:30 +0000 Subject: [PATCH] CRM-18013: Fix 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 2aaa2f1836..c9b1840f94 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1475,10 +1475,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