Skip to content

Commit

Permalink
Return explicit FALSE for test expectation
Browse files Browse the repository at this point in the history
Change-Id: Ic975b736eae4edf145636b01cb6e618bbfc0ab70
  • Loading branch information
eileenmcnaughton committed Oct 14, 2016
1 parent 7dd45de commit 9e8fff4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Contact/BAO/Contact/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public static function allow($id, $type = CRM_Core_Permission::VIEW) {
if (CRM_Core_DAO::singleValueQuery($query, array(1 => array($id, 'Integer')))) {
return TRUE;
}
return FALSE;
}

/**
Expand Down

0 comments on commit 9e8fff4

Please sign in to comment.