From: eileen Date: Fri, 14 Oct 2016 17:08:20 +0000 (+0100) Subject: Return explicit FALSE for test expectation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f652ac7f5328d3242e6868eed75ed874ba7beb6;p=civicrm-core.git Return explicit FALSE for test expectation Change-Id: Ic975b736eae4edf145636b01cb6e618bbfc0ab70 --- diff --git a/CRM/Contact/BAO/Contact/Permission.php b/CRM/Contact/BAO/Contact/Permission.php index 93d0917042..88767deb9a 100644 --- a/CRM/Contact/BAO/Contact/Permission.php +++ b/CRM/Contact/BAO/Contact/Permission.php @@ -183,6 +183,7 @@ WHERE contact_a.id = %1 AND $permission if (CRM_Core_DAO::singleValueQuery($query, array(1 => array($id, 'Integer')))) { return TRUE; } + return FALSE; } /**