Index: trunk/phase3/includes/Title.php |
— | — | @@ -1408,7 +1408,7 @@ |
1409 | 1409 | # Several cascading protected pages may include this page... |
1410 | 1410 | # Check each cascading level |
1411 | 1411 | # This is only for protection restrictions, not for all actions |
1412 | | - if( $cascadingSources > 0 && isset($restrictions[$action]) ) { |
| 1412 | + if( isset($restrictions[$action]) ) { |
1413 | 1413 | foreach( $restrictions[$action] as $right ) { |
1414 | 1414 | $right = ( $right == 'sysop' ) ? 'protect' : $right; |
1415 | 1415 | if( $right != '' && !$user->isAllowed( $right ) ) { |