support for latest CiviDiscount

A commit in CiviDiscount last week removed the function being called here. I'm applying the same fix as in CiviDiscount.

Merge request reports

Loading