From 3feb567abb44d0959f544adf88bed4ecd2cb4b57 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Tue, 5 Mar 2013 13:58:55 -0800 Subject: [PATCH] fix CRM-11915 --- CRM/Event/Form/Registration/Register.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index aa1dff81b8..50d601f003 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -220,6 +220,11 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { } } } + + if (!empty($fields)) { + CRM_Core_BAO_UFGroup::setProfileDefaults($contactID, $fields, $this->_defaults); + } + //if event is monetary and pay later is enabled and payment //processor is not available then freeze the pay later checkbox with //default check -- 2.25.1