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:
c3d437c
)
CRM-15265, fix set defaults in profile edit mode
author
kurund
<kurund@civicrm.org>
Tue, 9 Sep 2014 06:09:05 +0000
(11:39 +0530)
committer
kurund
<kurund@civicrm.org>
Tue, 9 Sep 2014 06:09:05 +0000
(11:39 +0530)
----------------------------------------
* CRM-15265: Defaults not working in profile edit mode
https://issues.civicrm.org/jira/browse/CRM-15265
CRM/Profile/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Profile/Form.php
b/CRM/Profile/Form.php
index d0d229fa17e6fac05ae9323617e83e648ce420a0..c8b0633ce1ac76bde34e1a66cc477e662ed6d909 100644
(file)
--- a/
CRM/Profile/Form.php
+++ b/
CRM/Profile/Form.php
@@
-799,6
+799,9
@@
class CRM_Profile_Form extends CRM_Core_Form {
}
}
+ //let's do set defaults for the profile
+ $this->setDefaultsValues();
+
$action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, NULL);
if ($this->_mode == self::MODE_CREATE) {
CRM_Core_BAO_CMSUser::buildForm($this, $this->_gid, $emailPresent, $action);