r46841 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46840‎ | r46841 | r46842 >
Date:09:07, 5 February 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix r46838 per IAlex on Code Review
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -1496,7 +1496,7 @@
14971497 }
14981498
14991499 # Shortcut for public wikis, allows skipping quite a bit of code
1500 - if ( !empty( $wgGroupPermissions['*'] ) )
 1500+ if ( !empty( $wgGroupPermissions['*']['read'] ) )
15011501 return true;
15021502
15031503 if( $wgUser->isAllowed( 'read' ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r46838Avoid E_NOTICE for wikis that give no rights to anonymous users.werdna07:52, 5 February 2009

Status & tagging log