Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php |
— | — | @@ -762,7 +762,7 @@ |
763 | 763 | public static function userCan( $tag, $value, $config = array() ) { |
764 | 764 | global $wgFlagRestrictions, $wgUser; |
765 | 765 | # Levels may not apply for some pages |
766 | | - if( !self::levelAvailable( $tag, $value, $config ) ) |
| 766 | + if( $value > 0 && !self::levelAvailable( $tag, $value, $config ) ) |
767 | 767 | return false; |
768 | 768 | # No restrictions -> full access |
769 | 769 | if( !isset($wgFlagRestrictions[$tag]) ) |