From: Aaron Schulz Date: Sun, 20 Sep 2009 14:10:50 +0000 (+0000) Subject: bug 20745 Query error in Special:ListUsers X-Git-Tag: 1.31.0-rc.0~39614 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=7f3929a02ab7dadbb07a9f629b43965363e07450;p=lhc%2Fweb%2Fwiklou.git bug 20745 Query error in Special:ListUsers --- diff --git a/includes/specials/SpecialListusers.php b/includes/specials/SpecialListusers.php index 88c1fff2db..bb52ee6f67 100644 --- a/includes/specials/SpecialListusers.php +++ b/includes/specials/SpecialListusers.php @@ -86,7 +86,7 @@ class UsersPager extends AlphabeticPager { if( $this->requestedUser != '' ) { # Sorted either by account creation or name if( $this->creationSort ) { - $conds[] = 'user_id >= ' . User::idFromName( $this->requestedUser ); + $conds[] = 'user_id >= ' . intval( User::idFromName( $this->requestedUser ) ); } else { $conds[] = 'user_name >= ' . $dbr->addQuotes( $this->requestedUser ); }