Permalink
Browse files

Fixed wrong encoding detection logic in install.php

  • Loading branch information...
1 parent 81c2aa8 commit 83e8edb463575dccbea8749675aef1964f1d7d0c patrickslee committed Apr 27, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.php
View
2 install.php
@@ -329,7 +329,7 @@
$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;

0 comments on commit 83e8edb

Please sign in to comment.