fixed fatal for discount edit
Merge pull request #8 from civicrm/discount-fixes

fixed fatal for discount edit