if (empty($this->_id) && !empty($contribution->id)) {
$this->_id = $contribution->id;
}
+ $this->ajaxResponse['updateTabs']['#tab_activity'] = TRUE;
if (!empty($this->_id) && CRM_Core_Permission::access('CiviMember')) {
$membershipPaymentCount = civicrm_api3('MembershipPayment', 'getCount', ['contribution_id' => $this->_id]);
if ($membershipPaymentCount) {
* @param count {Number}
*/
CRM.tabHeader.updateCount = function(tab, count) {
+ if (typeof count === 'boolean') {
+ return;
+ }
var oldClass = getCountClass(tab);
if (oldClass) {
$(tab).removeClass(oldClass);