r24519 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24518‎ | r24519 | r24520 >
Date:13:15, 1 August 2007
Author:werdna
Status:old
Tags:
Comment:
Small bug in userCan changes. Kudos to Raymond_ for spotting it
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -1168,7 +1168,7 @@
11691169 $groups = array();
11701170 global $wgGroupPermissions;
11711171 foreach( $wgGroupPermissions as $key => $value ) {
1172 - if( isset( $value[$permission] ) && $value[$permission] == true ) {
 1172+ if( isset( $value[$action] ) && $value[$action] == true ) {
11731173 $groupName = User::getGroupName( $key );
11741174 $groupPage = User::getGroupPage( $key );
11751175 if( $groupPage ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r24631Merged revisions 24480-24600 via svnmerge from...david18:39, 6 August 2007

Status & tagging log