Editing registration removes discount if no more usages available
Created by: kngs
If you edit (change selections) for an event registration which initially used a discount code, and there are no more usages available when you edit, the discount disappears and you are told it is an invalid code (and you may now owe a bundle!). If there are more usages, you can reapply the discount, but now you've used an extra discount :/ It seems like the same discount should be retained throughout the registration history.