r82745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82744‎ | r82745 | r82746 >
Date:20:46, 24 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Fixup one missed alias rename from r82739
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryUsers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryUsers.php
@@ -165,7 +165,7 @@
166166 $result->setIndexedTagName( $data[$name]['rights'], 'r' );
167167 }
168168
169 - if ( isset( $this->prop['blockinfo'] ) && !is_null( $row->blocker_name ) ) {
 169+ if ( isset( $this->prop['blockinfo'] ) && !is_null( $row->ipb_by_text ) ) {
170170 $data[$name]['blockedby'] = $row->ipb_by_text;
171171 $data[$name]['blockreason'] = $row->ipb_reason;
172172 $data[$name]['blockexpiry'] = $row->ipb_expiry;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82739* (bug 27688) Simplify queries to list user block information...reedy18:43, 24 February 2011

Status & tagging log