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:
e6c66de
)
CRM-21172 - Fix 'Edit Contact Information' link on contact dashboard
author
yashodha
<yashodha@cividesk.com>
Mon, 11 Sep 2017 09:32:11 +0000
(15:02 +0530)
committer
yashodha
<yashodha@cividesk.com>
Mon, 11 Sep 2017 09:32:11 +0000
(15:02 +0530)
CRM/Contact/Form/RelatedContact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/RelatedContact.php
b/CRM/Contact/Form/RelatedContact.php
index f2e1774868d5e9778b3b04cd15a4589a2dec52db..2f3eede683789c0f45864adc99e5e8080cc32792 100644
(file)
--- a/
CRM/Contact/Form/RelatedContact.php
+++ b/
CRM/Contact/Form/RelatedContact.php
@@
-54,6
+54,13
@@
class CRM_Contact_Form_RelatedContact extends CRM_Core_Form {
*/
public $_contactId;
+ /**
+ * Explicitly declare the form context.
+ */
+ public function getDefaultContext() {
+ return 'create';
+ }
+
/**
* Build all the data structures needed to build the form.
*/