dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9c5d0d
)
Followup r79549, only try and filter by group (or right) if there are some groups...
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 24 Mar 2011 20:27:30 +0000
(20:27 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 24 Mar 2011 20:27:30 +0000
(20:27 +0000)
includes/api/ApiQueryAllUsers.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryAllUsers.php
b/includes/api/ApiQueryAllUsers.php
index
a2657fb
..
5180ff4
100644
(file)
--- a/
includes/api/ApiQueryAllUsers.php
+++ b/
includes/api/ApiQueryAllUsers.php
@@
-85,7
+85,7
@@
class ApiQueryAllUsers extends ApiQueryBase {
}
}
- if ( !is_null( $params['group'] ) ) {
+ if ( !is_null( $params['group'] )
&& count( $params['group'] )
) {
$useIndex = false;
// Filter only users that belong to a given group
$this->addTables( 'user_groups', 'ug1' );