From 760ff44384fc657922b2df87c4081a0001480325 Mon Sep 17 00:00:00 2001 From: yashodha Date: Mon, 11 Sep 2017 15:02:11 +0530 Subject: [PATCH] CRM-21172 - Fix 'Edit Contact Information' link on contact dashboard --- CRM/Contact/Form/RelatedContact.php | 7 +++++++ 1 file changed, 7 insertions(+) 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. */ -- 2.25.1