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:
19045a9
)
RT#765026, patch for null values in civicrm_acl_cache
author
Lisa Marie Maginnis
<lisam@fsf.org>
Mon, 21 Sep 2015 17:15:03 +0000
(13:15 -0400)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Mon, 21 Sep 2015 17:15:03 +0000
(13:15 -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 86b4fda4f02a2e79b2faf79d4d1b4df89be4e4ff..9bafc8fad57fb19ef35974a7553af062cad7890c 100644
(file)
--- a/
CRM/ACL/BAO/Cache.php
+++ b/
CRM/ACL/BAO/Cache.php
@@
-69,9
+69,15
@@
SELECT acl_id
";
$params = array(1 => array($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);