Download earnings and sales not being decreased properly when more than 1 download is purchased (quantities)
change $download to $item
Check for existence of $item['price'] first
Added extra check
Improvements
Merge pull request #1834 from sumobi/master

Download earnings and sales not being decreased properly when more than ...