From 37cf6f133bfd69501489a076e35234fd514ebbe2 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 15 May 2010 18:00:55 +0000 Subject: [PATCH] API: (bug 23534) Fix regression from r46809 (!) causing DB query error --- includes/api/ApiQueryAllUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 9eebfb4905..85a203f27c 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -76,7 +76,7 @@ class ApiQueryAllUsers extends ApiQueryBase { } if ( $params['witheditsonly'] ) { - $this->addWhere( 'user_editcount > 0' ); + $this->addWhere( 'u1.user_editcount > 0' ); } if ( $fld_groups ) { -- 2.20.1