Index: trunk/phase3/includes/Article.php |
— | — | @@ -1710,7 +1710,7 @@ |
1711 | 1711 | foreach( $limit as $action => $restrictions ) { |
1712 | 1712 | # Check if the group level required to edit also can protect pages |
1713 | 1713 | # Otherwise, people who cannot normally protect can "protect" pages via transclusion |
1714 | | - $cascade = ( $cascade && isset($wgGroupPermissions[$restrictions]) && $wgGroupPermissions[$restrictions]['protect'] ); |
| 1714 | + $cascade = ( $cascade && isset($wgGroupPermissions[$restrictions]['protect']) && $wgGroupPermissions[$restrictions]['protect'] ); |
1715 | 1715 | } |
1716 | 1716 | # Update restrictions table |
1717 | 1717 | foreach( $limit as $action => $restrictions ) { |