Clarify return val, fix casing on a couple of function calls
[civicrm-core.git] / CRM / Event / Cart / Form / Checkout / Payment.php
index cdef3ae592abb1950bd8d876f3e16636fb7c5ede..59f843ad461e75de40bbfab15931b174a2b8602b 100644 (file)
@@ -780,7 +780,7 @@ class CRM_Event_Cart_Form_Checkout_Payment extends CRM_Event_Cart_Form_Cart {
     $dao = CRM_Core_DAO::executeQuery($sql, '');
     while ($dao->fetch()) {
       if ($dao->is_active != '1') {
-        return;
+        return FALSE;
       }
     }
     $discounted_priceset_ids = _cividiscount_get_discounted_priceset_ids();