Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -170,7 +170,7 @@ |
171 | 171 | //if the index page exists, find current page number, previous and next pages |
172 | 172 | list( $links, $params, $attributes ) = pr_parse_index($index_title); |
173 | 173 | |
174 | | - if($params){ |
| 174 | + if( $links==null ) { |
175 | 175 | list($pagenum, $links, $mode) = pr_pageNumber($title->pr_page_num,$params); |
176 | 176 | $attributes["pagenum"] = $pagenum; |
177 | 177 | } else { |