This commit is contained in:
Michael RICOIS 2018-01-23 17:36:59 +01:00
parent 588898123a
commit cb32e313c0

View File

@ -63,7 +63,6 @@ class OrderConfirmationController extends OrderConfirmationControllerCore
if ($transCpt > 1) { if ($transCpt > 1) {
$analytics_timeover = 1; $analytics_timeover = 1;
} }
// Check date order if page is refresh and not affect analytics // Check date order if page is refresh and not affect analytics
if ($analytics_timeover == 0) { if ($analytics_timeover == 0) {
$timestamp_check = new DateTime(); $timestamp_check = new DateTime();
@ -76,7 +75,6 @@ class OrderConfirmationController extends OrderConfirmationControllerCore
$transCpt++; $transCpt++;
} }
} }
// Write cookie // Write cookie
$cookie->transCpt = $transCpt; $cookie->transCpt = $transCpt;
$cookie->id_transaction = $order->id; $cookie->id_transaction = $order->id;