When multiple blocks are listed, if there is a partial block
with restrictions, any other partial block in the list will be
shown as an editing block even if it isn't.
Bug: T213952
Change-Id: Ieafb5f71c484d9f0551fa293f7c43e1a3a2e1f2a
if ( !$row->ipb_sitewide && $this->restrictions ) {
$list = $this->getRestrictionListHTML( $this->restrictions, $row );
- $properties[] = htmlspecialchars( $msg['blocklist-editing'] ) . $list;
+ if ( $list ) {
+ $properties[] = htmlspecialchars( $msg['blocklist-editing'] ) . $list;
+ }
}
if ( $row->ipb_anon_only ) {