Skip to content

fix crash when event has no price set ID

JonGold requested to merge JonGold/cividiscount:free-event-crash into master

Resolves #313 (closed), but is only lightly tested.

$formHelper->getPriceFieldOptionIDs() on line 130 crashes if no price set exists. So we ensure we have a price set before entering this if block.

Merge request reports

Loading