From b7bba1f99e2934bc7d7b2fb5f5c2476b5b65da7c Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 30 Nov 2015 15:28:16 +0530 Subject: [PATCH] minor fix --- CRM/Contact/Page/View/Summary.php | 2 ++ 1 file changed, 2 insertions(+) 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')); -- 2.25.1