Index: branches/wmf/1.17wmf1/includes/api/ApiQueryAllUsers.php |
— | — | @@ -157,8 +157,8 @@ |
158 | 158 | 'name' => $lastUser, |
159 | 159 | 'userid' => $row->user_id, |
160 | 160 | ); |
161 | | - if ( $fld_blockinfo && !is_null( $row->blocker_name ) ) { |
162 | | - $lastUserData['blockedby'] = $row->blocker_name; |
| 161 | + if ( $fld_blockinfo && !is_null( $row->ipb_by_text ) ) { |
| 162 | + $lastUserData['blockedby'] = $row->ipb_by_text; |
163 | 163 | $lastUserData['blockreason'] = $row->ipb_reason; |
164 | 164 | } |
165 | 165 | if ( $row->ipb_deleted ) { |