phpcs required fix - return false rather than void
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 4 Apr 2015 06:37:42 +0000 (19:37 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 4 Apr 2015 06:37:42 +0000 (19:37 +1300)
CRM/Price/BAO/PriceSet.php

index 06cafe44aca9c2a215e3ba8dc8aed901bdabe7fa..6cd8379ee64b76c0a20bfd9026f8e6be9c14b6c1 100644 (file)
@@ -1005,7 +1005,7 @@ WHERE  id = %1";
    */
   public static function checkCurrentMembership(&$options, $userid) {
     if (!$userid || empty($options)) {
-      return;
+      return FALSE;
     }
     static $_contact_memberships = array();
     $checkLifetime = FALSE;