Details
Description
Automatic discount for an event based on logged in user having a membership is not working in my test. I set it up same as reported here (but w/ existing sample membership type - GENERAL - and sample event id =1):
https://github.com/dlobo/org.civicrm.module.cividiscount/issues/81#issuecomment-62121507
According to the poster this is a regression, so would be good to get it fixed.
Submitted the PR https://github.com/dlobo/org.civicrm.module.cividiscount/pull/82
Also I didn't find any particular commit which has caused this regression, may be the structural changes introduced in 4.5 has lead to this issue.