diff --git a/docs/hooks/hook_civicrm_aclWhereClause.md b/docs/hooks/hook_civicrm_aclWhereClause.md index 356dc2d807652b206780067f7568ff58d2c9a538..a9990e35c70a42a931659ebf6f0ebb92a61c4e31 100644 --- a/docs/hooks/hook_civicrm_aclWhereClause.md +++ b/docs/hooks/hook_civicrm_aclWhereClause.md @@ -26,7 +26,8 @@ query is performed. Those will join onto the select clause - array $whereTables - (reference ) add the tables that are needed for the where clause -- int $contactID - the contactID for whom the check is made +- int $contactID - the contactID for whom the check is made, i.e. the ContactID of + the user trying to access the contacts. - string $where - the currrent where clause ## Returns @@ -84,4 +85,4 @@ query is performed. Those will join onto the if ( ! empty( $clauses ) ) { $where .= ' AND (' . implode( ' OR ', $clauses ) . ')'; } - } \ No newline at end of file + }