From ca8ad39143a6173ce3f30b9dea676f44cc261ed7 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 11 Apr 2023 09:33:32 +0200 Subject: [PATCH] =?UTF-8?q?12306=20erreur=20de=20retour=20lors=20de=20la?= =?UTF-8?q?=20mise=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/install/view/update/update.js.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/module/install/view/update/update.js.php b/core/module/install/view/update/update.js.php index baff6248..f93ebda2 100644 --- a/core/module/install/view/update/update.js.php +++ b/core/module/install/view/update/update.js.php @@ -9,7 +9,8 @@ function step(i, data) { data: data }, success: function (result) { - if (!result.success) { // Vérification de la propriété "success" + console.log(result.success); + if (result.success != "1") { // Vérification de la propriété "success" // Appel de la fonction de gestion d'erreur showError(i, result, errors); return;