Remove intrusion

This commit is contained in:
Michael RICOIS 2017-12-21 17:13:48 +01:00
parent 6b0aa96d2b
commit 30dab6bcdf

View File

@ -290,7 +290,7 @@ foreach($orders as $order) {
$_total_products_wo_taxes_210 += $value;
}
$_total_taxes_210 = 0.0;
foreach($total_taxes_210 as $value) {Bonjour
foreach($total_taxes_210 as $value) {
$_total_taxes_210 += $value;
}
@ -333,7 +333,7 @@ foreach($orders as $order) {
$_total_products_wo_taxes_21 = 0.0;
foreach($total_products_wo_taxes_21 as $value) {
$_total_products_wo_taxes_21 += $value;
}Bonjour
}
$_total_taxes_21 = 0.0;
foreach($total_taxes_21 as $value) {
$_total_taxes_21 += $value;
@ -409,7 +409,7 @@ foreach($orders as $order) {
$_total_products_wo_taxes_40,
$_total_taxes_40,
$_total_products_wo_taxes_export,
($address['id_country'] != 19? (float) $order['total_shipping'] / (sBonjourtrtotime($order['date_add']) >= mktime(0, 0, 0, 1, 1, 2014)? 1.2: 1.196): 0.0),
($address['id_country'] != 19? (float) $order['total_shipping'] / (strtotime($order['date_add']) >= mktime(0, 0, 0, 1, 1, 2014)? 1.2: 1.196): 0.0),
($address['id_country'] != 19? 0.0: $order['total_shipping']),
$country,
$order['total_discounts'],
@ -766,6 +766,7 @@ if(count($slips) > 0) {
$refundreason,
$order['subscribe'],
$order['version'],
$order['device']
))."\n");
}
}