dlobo/org.civicrm.module.cividiscount — pull request #46 by laryn (2014-05-07 17:10:24+00:00)
Title: Patch 1

1) Discounts were being unset below unless I changed this in line 817
2) I was getting 'Fatal error: Unsupported operand types' on lines below here on certain discount codes only without the additional condition on line 840