From 62fd5c619567b9ab807faebc2faf50c4464ef689 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Tue, 16 Apr 2013 11:44:09 +0200 Subject: [PATCH] // small change on quantity_per_user cart rule created on ValidateOrder --- classes/PaymentModule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index a2464ba9c..8a9f2e643 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -435,6 +435,7 @@ abstract class PaymentModuleCore extends Module $voucher->id_customer = $order->id_customer; $voucher->quantity = 1; + $voucher->quantity_per_user = 1; if ($voucher->add()) { // If the voucher has conditions, they are now copied to the new voucher