From 83e8edb463575dccbea8749675aef1964f1d7d0c Mon Sep 17 00:00:00 2001 From: patrickslee Date: Thu, 27 Apr 2006 23:17:25 +0000 Subject: [PATCH] Fixed wrong encoding detection logic in install.php --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 72f7990997..51d19e0320 100644 --- a/install.php +++ b/install.php @@ -329,7 +329,7 @@ if ($INSTALL['stage'] == DATABASE) { $rs = $db->Execute("SHOW server_encoding"); if ($rs && $rs->RecordCount() > 0) { $encoding = $rs->fields['server_encoding']; - if (strtoupper($encoding) != 'UNICODE' || strtoupper($encoding) != 'UTF8') { + if (strtoupper($encoding) != 'UNICODE' && strtoupper($encoding) != 'UTF8') { $errormsg = get_string('dbwrongencoding', 'install', $encoding); $nextstage = DATABASE; $INSTALL['showskipdbencodingtest'] = true; -- 2.39.5