I think every string that evaluates to boolean false will be unaffected by this code...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 11 Jun 2008 21:34:03 +0000 (21:34 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 11 Jun 2008 21:34:03 +0000 (21:34 +0000)
includes/SpecialCategories.php

index 68aeb1f..951c222 100644 (file)
@@ -32,7 +32,7 @@ class CategoryPager extends AlphabeticPager {
        function __construct( $from ) {
                parent::__construct();
                $from = str_replace( ' ', '_', $from );
-               if( $from != '' ) {
+               if( $from !== '' ) {
                        global $wgCapitalLinks, $wgContLang;
                        if( $wgCapitalLinks ) {
                                $from = $wgContLang->ucfirst( $from );