r98714 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98713‎ | r98714 | r98715 >
Date:20:50, 2 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed broken ipb_deleted condition. Does not effect the special page since it is redundant for that use (the condition is added elsewhere).
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockList.php
@@ -367,7 +367,7 @@
368368
369369 # Is the user allowed to see hidden blocks?
370370 if ( !$this->getUser()->isAllowed( 'hideuser' ) ){
371 - $conds['ipb_deleted'] = 0;
 371+ $info['conds']['ipb_deleted'] = 0;
372372 }
373373
374374 return $info;

Status & tagging log