Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -154,7 +154,7 @@ |
155 | 155 | $default_header = wfMsgGetKey( 'proofreadpage_default_header', true, true, false ); |
156 | 156 | $default_footer = wfMsgGetKey( 'proofreadpage_default_footer', true, true, false ); |
157 | 157 | |
158 | | - $err = array( '', '', '', '', '', '' ); |
| 158 | + $err = array( '', '', '', '', '', '', '' ); |
159 | 159 | $index_title = Title::newFromText( $title->pr_index_title ); |
160 | 160 | if ( !$index_title ) { |
161 | 161 | return $err; |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | } |
187 | 187 | |
188 | 188 | if ( !$index_title->exists() ) { |
189 | | - return array( $index_title, $prev_title, $next_title, $default_header, $default_footer ); |
| 189 | + return array( $index_title, $prev_title, $next_title, $default_header, $default_footer, '', '' ); |
190 | 190 | } |
191 | 191 | |
192 | 192 | // if the index page exists, find current page number, previous and next pages |