Fix r46838 per IAlex on Code Review
authorAndrew Garrett <werdna@users.mediawiki.org>
Thu, 5 Feb 2009 09:07:33 +0000 (09:07 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Thu, 5 Feb 2009 09:07:33 +0000 (09:07 +0000)
includes/Title.php

index d6ce01e..7098510 100644 (file)
@@ -1496,7 +1496,7 @@ class Title {
                }
 
                # Shortcut for public wikis, allows skipping quite a bit of code
-               if ( !empty( $wgGroupPermissions['*'] ) )
+               if ( !empty( $wgGroupPermissions['*']['read'] ) )
                        return true;
 
                if( $wgUser->isAllowed( 'read' ) ) {