From: yashodha Date: Sun, 21 Apr 2013 19:21:12 +0000 (+0530) Subject: CRM-12357 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=36bb946c8bd6e0063949e8a8c26ae582deb72d63;p=civicrm-core.git CRM-12357 --- diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index cfd2fb10ca..bf15c462ed 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -2366,6 +2366,10 @@ AND civicrm_openid.is_primary = 1"; ); return CRM_Activity_BAO_Activity::getActivitiesCount($input); + case 'mailing': + //FIX ME: calculate count + + return; default: $custom = explode('_', $component); if ($custom['0'] = 'custom') { diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index 7053d7f35c..444813ab5c 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -334,8 +334,7 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { TRUE ); if (!$writeActivity) { - $elem = $mailingCom->registerTab(); - + $elem = $mailingComp->registerTab(); } }