Skip to content

Commit 548aad0

Browse files
authored
Add exit command
1 parent 4ab5578 commit 548aad0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

controllers/admin/AdminGanalyticsAjax.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ public function init()
3232
if (Validate::isLoadedObject($order) && (isset($this->context->employee->id) && $this->context->employee->id)) {
3333
(new GanalyticsRepository())->markOrderAsSent((int) $orderId);
3434
$this->ajaxRender('OK');
35+
exit;
3536
}
3637

3738
$this->ajaxRender('KO');
39+
exit;
3840
}
3941
}

0 commit comments

Comments
 (0)