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 "Remove references to field rev_text_id"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialListgrants.php
diff --git
a/includes/specials/SpecialListgrants.php
b/includes/specials/SpecialListgrants.php
index
1a04eec
..
ba16baf
100644
(file)
--- a/
includes/specials/SpecialListgrants.php
+++ b/
includes/specials/SpecialListgrants.php
@@
-62,7
+62,7
@@
class SpecialListGrants extends SpecialPage {
'<span class="mw-listgrants-right-name">' . $permission . '</span>'
)->parse();
}
- if (
!count( $descs )
) {
+ if (
$descs === []
) {
$grantCellHtml = '';
} else {
sort( $descs );