X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flogging%2FLogPager.php;h=598a45f07cca43821bc67e7c514d59f51eff1a30;hp=c4ce7b3e9e318eaab1262672a719abcfd3430b24;hb=519f901c2fb3e6a625b840daab7220212d0866da;hpb=6e1a1ca4413f9e8c4fda32e66fef35e45e0eacb8 diff --git a/includes/logging/LogPager.php b/includes/logging/LogPager.php index c4ce7b3e9e..598a45f07c 100644 --- a/includes/logging/LogPager.php +++ b/includes/logging/LogPager.php @@ -248,7 +248,7 @@ class LogPager extends ReverseChronologicalPager { $user = $this->getUser(); if ( !$user->isAllowed( 'deletedhistory' ) ) { $this->mConds[] = $db->bitAnd( 'log_deleted', LogPage::DELETED_ACTION ) . ' = 0'; - } elseif ( !$user->isAllowed( 'suppressrevision' ) ) { + } elseif ( !$user->isAllowedAny( 'suppressrevision', 'viewsuppressed' ) ) { $this->mConds[] = $db->bitAnd( 'log_deleted', LogPage::SUPPRESSED_ACTION ) . ' != ' . LogPage::SUPPRESSED_ACTION; }