fix
This commit is contained in:
parent
9b72c15121
commit
9b18adb563
@ -43,7 +43,7 @@ class Affilnet extends Module
|
||||
$customer = new Customer($order->id_customer);
|
||||
$discounts = $order->getDiscounts();
|
||||
$ids_discount = '';
|
||||
for ($i = 0 ; $i <= count($discounts); $i++) {
|
||||
for ($i = 0 ; $i < count($discounts); $i++) {
|
||||
$ids_discount .= $discounts[$i]['id_cart_rule'];
|
||||
if ($i < count($discounts) - 1) {
|
||||
$ids_discount .= ':';
|
||||
|
Loading…
Reference in New Issue
Block a user