easydigitaldownloads/Easy-Digital-Downloads — pull request #1924 by cklosowski (2014-01-19 05:48:57+00:00)
Title: Fixing notice when no flat discounts are applied

#1917 While testing this, had forgotten to test it with zero flat discount codes and we ended up with a notice about an invalid argument for a foreach. This should resolve the matter.