Automatic discounts don't work for non-public visible membership types
Created by: labrown
We discovered that automatic discounts were not being applied to events when the membership type involved is set for 'admin' visibility. The code in _get_candidate_discounts calls getMembershipTypes but only asks for public membership types, not all membership types. This patch adds a 'FALSE' argument so that all membership types are retrieved.