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:
71e7af0
)
Reverting change from RT#765026 that has been disabled for years, and patched upstrea...
author
Ruben Rodriguez
<ruben@trisquel.org>
Mon, 5 Jun 2023 20:07:24 +0000
(16:07 -0400)
committer
Ruben Rodriguez
<ruben@trisquel.org>
Mon, 5 Jun 2023 20:53:22 +0000
(16:53 -0400)
CRM/ACL/BAO/Cache.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/ACL/BAO/Cache.php
b/CRM/ACL/BAO/Cache.php
index 9b2f13f53cea553ae55591813a37fb3cbb23d433..eac03d8b101fccb86b03b316d788eb2d26828210 100644
(file)
--- a/
CRM/ACL/BAO/Cache.php
+++ b/
CRM/ACL/BAO/Cache.php
@@
-64,15
+64,9
@@
SELECT acl_id
";
$params = [1 => [$id, 'Integer']];
- /* this is related to RT#765026
- Something is occasionally inserting records in civicrm_acl_cache with id null.
- That causes i for our anonymous visitors who want to sign petitions.
- Removed. Ward, 2012-07-20 */
- /*
if ($id == 0) {
-
$query .= " OR contact_id IS NULL";
+ $query .= " OR contact_id IS NULL";
}
- t*/
$dao = CRM_Core_DAO::executeQuery($query, $params);