Skip to content

Filter out empty lines from discount array

bgm requested to merge github/fork/eileenmcnaughton/master into master

Created by: eileenmcnaughton

Without this array_filter the array is winding up as [0 => ''] and failing to apply the discount based on later empty() checks

With this patch I see the discount applied after I submit Screen Shot 2020-09-11 at 4 37 28 PM

Merge request reports

Loading