From: JKingsnorth Date: Wed, 10 Feb 2016 16:19:03 +0000 (+0000) Subject: CRM-18013: Profile default value issue X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=29c4866a926f7038ebc8a054b865fb295329a37a;p=civicrm-core.git CRM-18013: Profile default value issue --- 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']) {