Merge "Don't show checkbox for hiding AbuseLog entries when showing details"

This commit is contained in:
jenkins-bot 2021-01-08 09:30:46 +00:00 committed by Gerrit Code Review
commit 208d64dc07

View file

@ -283,7 +283,7 @@ class AbuseLogPager extends ReverseChronologicalPager {
$this->msg( 'abusefilter-log-hidden-implicit' )->parse();
}
if ( !$this->hideEntries && $this->afPermissionManager->canHideAbuseLog( $user ) ) {
if ( $isListItem && !$this->hideEntries && $this->afPermissionManager->canHideAbuseLog( $user ) ) {
$description = Xml::check( 'hideids[' . $row->afl_id . ']' ) . $description;
}