projects
/
org.fsf.memberdashboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f750b5
)
Fix build form hook.
author
David Thompson
<davet@gnu.org>
Thu, 15 Jan 2015 17:19:50 +0000
(12:19 -0500)
committer
David Thompson
<davet@gnu.org>
Thu, 15 Jan 2015 17:19:50 +0000
(12:19 -0500)
* memberdashboard.php (memberdashboard_civicrm_buildForm): s/concactId/contactId/
memberdashboard.php
patch
|
blob
|
blame
|
history
diff --git
a/memberdashboard.php
b/memberdashboard.php
index 8f969f1a05fd810f4636a2c39e1099e3c9f91049..66686b4c8606fa3081ce368f7c60d320c8cedc6f 100644
(file)
--- a/
memberdashboard.php
+++ b/
memberdashboard.php
@@
-169,7
+169,7
@@
function memberdashboard_civicrm_buildForm($formName, &$form) {
// Hack to fix state select box in 4.4.x
if($formName == 'CRM_Profile_Form_Edit') {
$contactId = CRM_Core_Session::singleton()->get('userID');
- if($con
c
actId) {
+ if($con
t
actId) {
$contact = civicrm_api3('contact', 'getsingle', array( 'id' => $contactId ));
$defaults['state_province-Primary'] = $contact['state_province_id'];
$form->setDefaults($defaults);