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

This commit is contained in:
vAugagneur
2013-04-16 11:48:26 +02:00
+1
View File
@@ -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