X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialListgrants.php;h=ba16baf9243911287db61496a0c444bd18aaee68;hb=1c7c9bdf1fc5d57434aadeffff749807f042df24;hp=1a04eec473f852297e74595c4bb76e4f78860ea4;hpb=6c9a2923fe1ee3a65cb027be5e781772f2b12fbd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialListgrants.php b/includes/specials/SpecialListgrants.php index 1a04eec473..ba16baf924 100644 --- a/includes/specials/SpecialListgrants.php +++ b/includes/specials/SpecialListgrants.php @@ -62,7 +62,7 @@ class SpecialListGrants extends SpecialPage { '' . $permission . '' )->parse(); } - if ( !count( $descs ) ) { + if ( $descs === [] ) { $grantCellHtml = ''; } else { sort( $descs );