fixes http://forge.prestashop.com/browse/PNM-1633 by GuigZ-