Return explicit FALSE for test expectation
authoreileen <emcnaughton@wikimedia.org>
Fri, 14 Oct 2016 17:08:20 +0000 (18:08 +0100)
committereileenmcnaugton <eileen@fuzion.co.nz>
Mon, 24 Oct 2016 02:17:56 +0000 (15:17 +1300)
Change-Id: Ic975b736eae4edf145636b01cb6e618bbfc0ab70

CRM/Contact/BAO/Contact/Permission.php

index 93d0917042ea6ea0c0002830e1947844df378dc0..88767deb9a8d4620341b13dc5fe30d4f56b85b06 100644 (file)
@@ -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;
   }
 
   /**