From c3c86a6b9ea934ce480d46c8658352ca20fb6867 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 15 Oct 2005 13:27:38 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Evite=20erreur=20quand=20on=20cr=E9e=20c?= =?UTF-8?q?l=E9=20=E9trang=E8re=20d=E9j=E0=20existante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/install/upgrade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 8f27c3d053e..56ad5714bef 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -170,7 +170,8 @@ if (isset($_GET["action"]) && $_GET["action"] == "upgrade") 'DB_ERROR_KEY_NAME_ALREADY_EXISTS', 'DB_ERROR_RECORD_ALREADY_EXISTS', 'DB_ERROR_NOSUCHTABLE', - 'DB_ERROR_NOSUCHFIELD' + 'DB_ERROR_NOSUCHFIELD', + 'DB_ERROR_CANNOT_CREATE' // Qd contrainte deja existante ); if (in_array($errno,$okerror)) {