From 9849e4f3612f167b3ac0d66d30dcc04735df380c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 16 Jan 2011 00:22:10 +0000 Subject: [PATCH] Fix: Remove help to install when field is disabled --- htdocs/install/etape0.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/etape0.php b/htdocs/install/etape0.php index cf4a1ccb2d2..6113b6fa4be 100644 --- a/htdocs/install/etape0.php +++ b/htdocs/install/etape0.php @@ -292,7 +292,7 @@ if (! $error && $db->connected) if ($nbofchoice > 1) { ?> -
trans("CharacterSetDatabaseComment"); ?>
+
1) echo $langs->trans("CharacterSetDatabaseComment"); ?>
@@ -316,7 +316,7 @@ if (! $error && $db->connected) // We keep only utf8 and iso //if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/(utf8_general|latin1_swedish)/i',$collation['collation'])) $linedisabled=true; - if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/utf8/i',$collation['collation'])) $linedisabled=true; + if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/utf8_general/i',$collation['collation'])) $linedisabled=true; if ($defaultCollationConnection == $collation['collation']) {