From: yashodha Date: Mon, 11 Sep 2017 09:32:11 +0000 (+0530) Subject: CRM-21172 - Fix 'Edit Contact Information' link on contact dashboard X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=760ff44384fc657922b2df87c4081a0001480325;p=civicrm-core.git CRM-21172 - Fix 'Edit Contact Information' link on contact dashboard --- diff --git a/CRM/Contact/Form/RelatedContact.php b/CRM/Contact/Form/RelatedContact.php index f2e1774868..2f3eede683 100644 --- 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. */