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:
572b221
)
UFJoin - Update addSelectWhereClause
author
Coleman Watts
<coleman@civicrm.org>
Fri, 4 Jun 2021 06:12:23 +0000
(23:12 -0700)
committer
Tim Otten
<totten@civicrm.org>
Mon, 7 Jun 2021 03:18:52 +0000
(20:18 -0700)
CRM/Core/BAO/UFJoin.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/UFJoin.php
b/CRM/Core/BAO/UFJoin.php
index b3514d9f983540f8560cb1428333d05c1dd8c187..df3643984d50f4a0d373d99a1fe11e14ea0ce988 100644
(file)
--- a/
CRM/Core/BAO/UFJoin.php
+++ b/
CRM/Core/BAO/UFJoin.php
@@
-175,4
+175,15
@@
class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin {
];
}
+ /**
+ * Override base method which assumes permissions should be based on entity_table.
+ *
+ * @return array
+ */
+ public function addSelectWhereClause() {
+ $clauses = [];
+ CRM_Utils_Hook::selectWhereClause($this, $clauses);
+ return $clauses;
+ }
+
}