Fixup one missed alias rename from r82739
authorSam Reed <reedy@users.mediawiki.org>
Thu, 24 Feb 2011 20:46:45 +0000 (20:46 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 24 Feb 2011 20:46:45 +0000 (20:46 +0000)
includes/api/ApiQueryUsers.php

index 818b681..4fec5ad 100644 (file)
@@ -165,7 +165,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
                                        $result->setIndexedTagName( $data[$name]['rights'], 'r' );
                                }
 
-                               if ( isset( $this->prop['blockinfo'] ) && !is_null( $row->blocker_name ) ) {
+                               if ( isset( $this->prop['blockinfo'] ) && !is_null( $row->ipb_by_text ) ) {
                                        $data[$name]['blockedby'] = $row->ipb_by_text;
                                        $data[$name]['blockreason'] = $row->ipb_reason;
                                        $data[$name]['blockexpiry'] = $row->ipb_expiry;