Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed wrong encoding detection logic in install.php

  • Loading branch information...
commit 83e8edb463575dccbea8749675aef1964f1d7d0c 1 parent 81c2aa8
authored April 27, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  install.php
2  install.php
@@ -329,7 +329,7 @@
329 329
                         $rs = $db->Execute("SHOW server_encoding");
330 330
                         if ($rs && $rs->RecordCount() > 0) {
331 331
                             $encoding = $rs->fields['server_encoding'];
332  
-                            if (strtoupper($encoding) != 'UNICODE' || strtoupper($encoding) != 'UTF8') {
  332
+                            if (strtoupper($encoding) != 'UNICODE' && strtoupper($encoding) != 'UTF8') {
333 333
                                 $errormsg = get_string('dbwrongencoding', 'install', $encoding);
334 334
                                 $nextstage = DATABASE;
335 335
                                 $INSTALL['showskipdbencodingtest'] = true;

0 notes on commit 83e8edb

Please sign in to comment.
Something went wrong with that request. Please try again.