thomasv | 1 Jul 2009 10:35
Picon
Favicon

SVN: [52620] trunk/extensions/ProofreadPage/ProofreadPage.php

Revision: 52620
Author:   thomasv
Date:     2009-07-01 08:35:23 +0000 (Wed, 01 Jul 2009)

Log Message:
-----------
minor fix

Modified Paths:
--------------
    trunk/extensions/ProofreadPage/ProofreadPage.php

Modified: trunk/extensions/ProofreadPage/ProofreadPage.php
===================================================================
--- trunk/extensions/ProofreadPage/ProofreadPage.php	2009-07-01 06:23:30 UTC (rev 52619)
+++ trunk/extensions/ProofreadPage/ProofreadPage.php	2009-07-01 08:35:23 UTC (rev 52620)
 <at>  <at>  -170,7 +170,7  <at>  <at> 
 	//if the index page exists, find current page number, previous and next pages
 	list( $links, $params, $attributes ) = pr_parse_index($index_title);

-	if($params){
+	if( $links==null ) {
 		list($pagenum, $links, $mode) = pr_pageNumber($title->pr_page_num,$params);
 		$attributes["pagenum"] = $pagenum;
 	} else {

Gmane