projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15bc41e
)
fix CRM-11915
author
Donald A. Lobo
<lobo@civicrm.org>
Tue, 5 Mar 2013 21:58:55 +0000
(13:58 -0800)
committer
Donald A. Lobo
<lobo@civicrm.org>
Tue, 5 Mar 2013 21:58:55 +0000
(13:58 -0800)
CRM/Event/Form/Registration/Register.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Form/Registration/Register.php
b/CRM/Event/Form/Registration/Register.php
index aa1dff81b849d665ba431e2d84f1d668b6f2c876..50d601f0036485791287ff569850b1895b8d48da 100644
(file)
--- 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