Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -1158,7 +1158,7 @@ |
1159 | 1159 | |
1160 | 1160 | $page_ns_index = MWNamespace::getCanonicalIndex( strtolower( $pr_page_namespace ) ); |
1161 | 1161 | $index_ns_index = MWNamespace::getCanonicalIndex( strtolower( $pr_index_namespace ) ); |
1162 | | - if( $page_ns_index==null ){ |
| 1162 | + if( $page_ns_index==null || $index_ns_index == null){ |
1163 | 1163 | return true; |
1164 | 1164 | } |
1165 | 1165 | |