projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966fbbe
)
Switch to non deprecated buildPermissionClause() for contact detail report
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Sun, 16 May 2021 13:30:18 +0000
(14:30 +0100)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Sun, 16 May 2021 13:30:27 +0000
(14:30 +0100)
CRM/Report/Form/Contact/Detail.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/Contact/Detail.php
b/CRM/Report/Form/Contact/Detail.php
index 47c98364f3eb49471041e535e2db7dc1b73f5694..48f267a8ffc1603b9c5815a792cb777c4b41c356 100644
(file)
--- 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'];