From: jitendrapurohit Date: Mon, 30 Nov 2015 09:58:16 +0000 (+0530) Subject: minor fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b7bba1f99e2934bc7d7b2fb5f5c2476b5b65da7c;p=civicrm-core.git minor fix --- diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index eac81adab9..d6cd3e5511 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -389,8 +389,10 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { $weight += 10; } + $context = array('contact_id' => $this->_contactId); // see if any other modules want to add any tabs CRM_Utils_Hook::tabs($allTabs, $this->_contactId); + CRM_Utils_Hook::tabset('civicrm/contact/view', $allTabs, $context); // now sort the tabs based on weight usort($allTabs, array('CRM_Utils_Sort', 'cmpFunc'));