From: Matthew Wire Date: Sun, 16 May 2021 13:30:18 +0000 (+0100) Subject: Switch to non deprecated buildPermissionClause() for contact detail report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6130911ac86caabb4f4b24f5eefca00374157e68;p=civicrm-core.git Switch to non deprecated buildPermissionClause() for contact detail report --- 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'];