From 2e4bf72382365d7640e791d129b6fade5feb4b37 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Fri, 15 Mar 2019 09:45:48 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/install/upgrade2.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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().'
'; } } }