Change or to ||.
authorPhilip Tzou <philip@users.mediawiki.org>
Wed, 6 Jan 2010 20:17:01 +0000 (20:17 +0000)
committerPhilip Tzou <philip@users.mediawiki.org>
Wed, 6 Jan 2010 20:17:01 +0000 (20:17 +0000)
languages/Language.php

index a368b31..1909619 100644 (file)
@@ -1698,7 +1698,7 @@ class Language {
         */
        function stripForSearch( $string ) {
                global $wgDBtype, $wgSearchType;
-               if ( $wgDBtype != 'mysql' or $wgSearchType == 'LuceneSearch' ) {
+               if ( $wgDBtype != 'mysql' || $wgSearchType == 'LuceneSearch' ) {
                        return $string;
                }