From 6130911ac86caabb4f4b24f5eefca00374157e68 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sun, 16 May 2021 14:30:18 +0100 Subject: [PATCH] Switch to non deprecated buildPermissionClause() for contact detail report --- CRM/Report/Form/Contact/Detail.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CRM/Report/Form/Contact/Detail.php b/CRM/Report/Form/Contact/Detail.php index 47c98364f3..48f267a8ff 100644 --- a/CRM/Report/Form/Contact/Detail.php +++ b/CRM/Report/Form/Contact/Detail.php @@ -820,15 +820,10 @@ HERESQL; } public function postProcess() { - $this->beginPostProcess(); - - // get the acl clauses built before we assemble the query - $this->buildACLClause($this->_aliases['civicrm_contact']); - $sql = $this->buildQuery(TRUE); - $rows = $graphRows = $this->_contactSelected = []; + $rows = $this->_contactSelected = []; $this->buildRows($sql, $rows); foreach ($rows as $key => $val) { $rows[$key]['contactID'] = $val['civicrm_contact_id']; -- 2.25.1