r56670 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56669‎ | r56670 | r56671 >
Date:14:10, 20 September 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
bug 20745 Query error in Special:ListUsers
Modified paths:
  • /trunk/phase3/includes/specials/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialListusers.php
@@ -86,7 +86,7 @@
8787 if( $this->requestedUser != '' ) {
8888 # Sorted either by account creation or name
8989 if( $this->creationSort ) {
90 - $conds[] = 'user_id >= ' . User::idFromName( $this->requestedUser );
 90+ $conds[] = 'user_id >= ' . intval( User::idFromName( $this->requestedUser ) );
9191 } else {
9292 $conds[] = 'user_name >= ' . $dbr->addQuotes( $this->requestedUser );
9393 }

Comments

#Comment by NK45 (talk | contribs)   17:18, 21 September 2009

THanks.

Status & tagging log