dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Replace deprecated `setIconTitle` with `setTitle`"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryAllUsers.php
diff --git
a/includes/api/ApiQueryAllUsers.php
b/includes/api/ApiQueryAllUsers.php
index
7d5f6e2
..
7b5df50
100644
(file)
--- a/
includes/api/ApiQueryAllUsers.php
+++ b/
includes/api/ApiQueryAllUsers.php
@@
-94,7
+94,7
@@
class ApiQueryAllUsers extends ApiQueryBase {
}
// no group with the given right(s) exists, no need for a query
- if (
!count( $groups )
) {
+ if (
$groups === []
) {
$this->getResult()->addIndexedTagName( [ 'query', $this->getModuleName() ], '' );
return;