diff --git a/controllers/admin/AdminAjaxPsxMktgWithGoogleController.php b/controllers/admin/AdminAjaxPsxMktgWithGoogleController.php index 7a071d8f1..a7260e027 100644 --- a/controllers/admin/AdminAjaxPsxMktgWithGoogleController.php +++ b/controllers/admin/AdminAjaxPsxMktgWithGoogleController.php @@ -643,6 +643,11 @@ private function render($response, $code) header('Content-Type: application/json;charset=utf-8'); header("HTTP/1.1 $code"); - parent::ajaxRender($response); + if (_PS_VERSION_ === '9.0.0') { + parent::ajaxRender($response); + exit; + } + + parent::ajaxDie($response, null, null); } }