From: Andrew Garrett Date: Thu, 5 Feb 2009 09:07:33 +0000 (+0000) Subject: Fix r46838 per IAlex on Code Review X-Git-Tag: 1.31.0-rc.0~43035 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=cdbe8462db0fe1e024c98ab08b0768b5f2b8c2fb;p=lhc%2Fweb%2Fwiklou.git Fix r46838 per IAlex on Code Review --- diff --git a/includes/Title.php b/includes/Title.php index d6ce01e7ab..7098510ab6 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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' ) ) {