diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index ef93104c0e2..fa163f14b46 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2004-2006 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -161,8 +161,10 @@ if (isset($_GET["action"]) && $_GET["action"] == "upgrade") { if ($sql) { -// print ''.$langs->trans("Request").' '.$i.''; - print("Execution de requete=".($i+1)." sql='".$sql."'
\n"); + // Ajout trace sur requete (eventuellement à commenter + // si beaucoup de requetes) + print(''.$langs->trans("Request").' '.($i+1)." sql='".$sql."'\n"); + if ($db->query($sql)) { // print 'OK';