PrestaShop/PrestaShop — pull request #1941 by shaffe-fr (2014-07-03 10:28:14+00:00)
Title: Fix product downloads inserted multiple times

As data was pushed in $data array in the foreach loop and immediately inserted, the first download was inserted n times, the second n-1 times, ...