";
$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";
-# }
+ /* 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";
+ }
+ t*/
$dao = CRM_Core_DAO::executeQuery($query, $params);