Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development

This commit is contained in:
vAugagneur committed 2013-04-16 11:48:26 +02:00
commit 6aa2490915
1 file changed
+1
+1
View File
@@ -435,6 +435,7 @@ abstract class PaymentModuleCore extends Module
$voucher->id_customer = $order->id_customer; $voucher->id_customer = $order->id_customer;
$voucher->quantity = 1; $voucher->quantity = 1;
$voucher->quantity_per_user = 1;
if ($voucher->add()) if ($voucher->add())
{ {
// If the voucher has conditions, they are now copied to the new voucher // If the voucher has conditions, they are now copied to the new voucher