From e9bbef77bf62c23b91ed72d65018c1f74e310ff9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 16 Jan 2011 00:46:11 +0000 Subject: [PATCH] Fix: Fix for mysql 5.5 --- htdocs/install/etape0.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/etape0.php b/htdocs/install/etape0.php index 6113b6fa4be..a5d43421004 100644 --- a/htdocs/install/etape0.php +++ b/htdocs/install/etape0.php @@ -266,7 +266,7 @@ if (! $error && $db->connected) // We keep only utf8 //if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/(utf8|latin1)/i',$characterSet['charset'])) $linedisabled=true; - if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/utf8/i',$characterSet['charset'])) $linedisabled=true; + if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/utf8$/i',$characterSet['charset'])) $linedisabled=true; if ($defaultCharacterSet == $characterSet['charset'] ) {