diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index 45b5f8fe95c..b5d05a4dd4a 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -143,7 +143,7 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a if (!$db->connected) { - print ''.$langs->trans("ErrorFailedToConnectToDatabase", $conf->db->name).''.$langs->trans('Error').''; + print ''.$langs->trans("ErrorFailedToConnectToDatabase", $conf->db->name).''.$langs->trans('Error').''; dolibarr_install_syslog('upgrade2: failed to connect to database :' . $conf->db->name . ' on ' . $conf->db->host . ' for user ' . $conf->db->user, LOG_ERR); $error++; } @@ -3666,13 +3666,13 @@ function migrate_clean_association($db, $langs, $conf, $versionto) if (! $error) { print ''.$langs->trans("MigrationCategorieAssociation").''; - print ''.$langs->trans("RemoveDuplicates").' '.$langs->trans("Success").' ('.$num.'=>'.count($couples).')'; + print ''.$langs->trans("RemoveDuplicates").' '.$langs->trans("Success").' ('.$num.'=>'.count($couples).')'; $db->commit(); } else { print ''.$langs->trans("MigrationCategorieAssociation").''; - print ''.$langs->trans("RemoveDuplicates").' '.$langs->trans("Failed").''; + print ''.$langs->trans("RemoveDuplicates").' '.$langs->trans("Failed").''; $db->rollback(); } } @@ -3680,7 +3680,7 @@ function migrate_clean_association($db, $langs, $conf, $versionto) else { print ''.$langs->trans("Error").''; - print '
'.$db->lasterror().'
'; + print '
'.$db->lasterror().'
'; } } }