From ee8ddb574431dbb6e23ecde7bf8f2cbe941e6fe9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 22 Jun 2019 13:23:00 +0200 Subject: [PATCH] Fix link to fix table charset --- htdocs/admin/system/database-tables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/system/database-tables.php b/htdocs/admin/system/database-tables.php index c04c91e0e66..135efb734c2 100644 --- a/htdocs/admin/system/database-tables.php +++ b/htdocs/admin/system/database-tables.php @@ -21,7 +21,7 @@ /** * \file htdocs/admin/system/database-tables.php - * \brief Page d'infos des tables de la base + * \brief Page with information on database tables */ require '../../main.inc.php'; @@ -134,7 +134,7 @@ else print ''.$obj->Auto_increment.''; print ''.$obj->Check_time.''; print ''.$obj->Collation; - if (isset($obj->Collation) && ($obj->Collation == "utf8mb4_general_ci" || $obj->Collation == "utf8mb4_unicode_ci")) + if (isset($obj->Collation) && (in_array($obj->Collation, array("utf8mb4_general_ci", "utf8mb4_unicode_ci", "latin1_swedish_ci")))) { print '
'.$langs->trans("Convert").' UTF8'; }