From 976b5c26c76335e59dc1fb8ec8858a2a095b101d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 9 Apr 2018 12:26:39 +0200 Subject: [PATCH] Fix: TODO get_charset() function don't exists --- htdocs/install/upgrade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index fce91f7925d..6186cee02b3 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -183,7 +183,8 @@ if (! GETPOST('action','aZ09') || preg_match('/upgrade/i',GETPOST('action','aZ09 print ''.$langs->trans("ServerVersion").''; print ''.$version.''; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ServerVersion") . ": " .$version); - if ($db->type == 'mysqli') + // TODO get_charset() function don't exists + /*if ($db->type == 'mysqli') { $tmparray = $db->db->get_charset(); print ''.$langs->trans("ClientCharset").''; @@ -192,7 +193,7 @@ if (! GETPOST('action','aZ09') || preg_match('/upgrade/i',GETPOST('action','aZ09 print ''.$langs->trans("ClientSortingCharset").''; print ''.$tmparray->collation.''; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ClientCollation") . ": " .$tmparray->collation); - } + }*/ // Test database version requirement $versionmindb=explode('.',$db::VERSIONMIN);