*/
public $_groupId;
- /**
- * Class constructor.
- *
- * @return CRM_Contact_Page_View_CustomData
- */
- public function __construct() {
- parent::__construct();
- }
-
/**
* Add a few specific things to view contact.
*/
if ($this->_multiRecordDisplay != 'single') {
$id = "custom_{$this->_groupId}";
- $tableName = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $this->_groupId, 'table_name');
- $this->ajaxResponse['tabCount'] = CRM_Contact_BAO_Contact::getCountComponent($id, $this->_contactId, $tableName);
+ $this->ajaxResponse['tabCount'] = CRM_Contact_BAO_Contact::getCountComponent($id, $this->_contactId);
}
if ($displayStyle === 'Tab with table' && $this->_multiRecordDisplay != 'single') {