Fix for issue: Discount code which is only set to apply to certain price...

Fix for issue: Discount code which is only set to apply to certain priceset options for events, is being applied to everything in the event.

Forum topic: http://forum.civicrm.org/index.php?topic=30907