typo
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Sep 2004 06:19:16 +0000 (06:19 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Sep 2004 06:19:16 +0000 (06:19 +0000)
includes/Title.php

index e262c5a..190d839 100644 (file)
@@ -713,7 +713,7 @@ class Title {
                }
                
                global $wgUseLatin1;
-               if( !$wgUseLatin1 &&  false !== strpos( $t, UTF8_REPLACEMENT, $t ) ) {
+               if( !$wgUseLatin1 &&  false !== strpos( $t, UTF8_REPLACEMENT ) ) {
                        # Contained illegal UTF-8 sequences or forbidden Unicode chars.
                        wfProfileOut( $fname );
                        return false;