Merge "Parser: Add Title type hints"
[lhc/web/wiklou.git] / includes / logging / ProtectLogFormatter.php
index 6e3b26b..81d9aa2 100644 (file)
@@ -101,7 +101,7 @@ class ProtectLogFormatter extends LogFormatter {
                ];
 
                // Show change protection link
-               if ( !MediaWikiServices::getInstance()
+               if ( MediaWikiServices::getInstance()
                                ->getPermissionManager()
                                ->userHasRight( $this->context->getUser(), 'protect' )
                ) {