We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 548aad0 commit 08a4132Copy full SHA for 08a4132
1 file changed
controllers/front/ajax.php
@@ -36,10 +36,12 @@ public function initContent()
36
37
if (!Validate::isLoadedObject($order) || $order->id_customer != (int) Tools::getValue('customer')) {
38
$this->ajaxRender('KO');
39
+ exit;
40
}
41
42
(new GanalyticsRepository())->markOrderAsSent((int) $orderId);
43
44
$this->ajaxRender('OK');
45
46
47
0 commit comments