Details
Description
When using the Cart option of CiviEvent, having a sub event (session) with an amount, getting the following error:
warning: array_keys() expects parameter 1 to be array, null given in .../sites/all/modules/civicrm/CRM/Event/Cart/Form/Checkout/Payment.php on line 240.
warning: end() expects parameter 1 to be array, null given in .../sites/all/modules/civicrm/CRM/Event/Cart/Form/Checkout/Payment.php on line 240.
I have duplicated the error in the Drupal 7 CiviCRM demo system.