projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23015 from ginkgomzd/php8-unsupported-operand
[civicrm-core.git]
/
CRM
/
Contact
/
Page
/
View
/
CustomData.php
diff --git
a/CRM/Contact/Page/View/CustomData.php
b/CRM/Contact/Page/View/CustomData.php
index 3000627b0b48695e604be61f5977fc49cd5c8547..8d8a5e9fefaa94ec07c781e8236241dc7bfd1a5a 100644
(file)
--- a/
CRM/Contact/Page/View/CustomData.php
+++ b/
CRM/Contact/Page/View/CustomData.php
@@
-27,15
+27,6
@@
class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
*/
public $_groupId;
*/
public $_groupId;
- /**
- * Class constructor.
- *
- * @return CRM_Contact_Page_View_CustomData
- */
- public function __construct() {
- parent::__construct();
- }
-
/**
* Add a few specific things to view contact.
*/
/**
* Add a few specific things to view contact.
*/
@@
-96,8
+87,7
@@
class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
if ($this->_multiRecordDisplay != 'single') {
$id = "custom_{$this->_groupId}";
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') {
}
if ($displayStyle === 'Tab with table' && $this->_multiRecordDisplay != 'single') {