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:
5d9e69d
)
CRM-17131 - Fix where clause
author
Coleman Watts
<coleman@civicrm.org>
Fri, 18 Sep 2015 18:09:49 +0000
(14:09 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 18 Sep 2015 18:09:49 +0000
(14:09 -0400)
CRM/ACL/API.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/ACL/API.php
b/CRM/ACL/API.php
index cd2deab2e4a6b0581d3fa18a6ce65ddac2abc4e2..0d606685126b453e05b3bce2f9b0b8c92c1f1ab3 100644
(file)
--- a/
CRM/ACL/API.php
+++ b/
CRM/ACL/API.php
@@
-138,7
+138,7
@@
class CRM_ACL_API {
if ($contactID && (CRM_Core_Permission::check('edit my contact') ||
$type == self::VIEW && CRM_Core_Permission::check('view my contact'))
) {
- $where = "
contact_a.id = $contactID OR ($where
)";
+ $where = "
(contact_a.id = $contactID OR ($where)
)";
}
return $where;
}