Skip to content

Commit 08a4132

Browse files
authored
Update ajax.php
1 parent 548aad0 commit 08a4132

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

controllers/front/ajax.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ public function initContent()
3636

3737
if (!Validate::isLoadedObject($order) || $order->id_customer != (int) Tools::getValue('customer')) {
3838
$this->ajaxRender('KO');
39+
exit;
3940
}
4041

4142
(new GanalyticsRepository())->markOrderAsSent((int) $orderId);
4243

4344
$this->ajaxRender('OK');
45+
exit;
4446
}
4547
}

0 commit comments

Comments
 (0)