Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -1259,6 +1259,10 @@ |
1260 | 1260 | } |
1261 | 1261 | } |
1262 | 1262 | |
| 1263 | + if( $n==0 ) { |
| 1264 | + return; |
| 1265 | + } |
| 1266 | + |
1263 | 1267 | $catlinks = $dbr->tableName( 'categorylinks' ); |
1264 | 1268 | $page = $dbr->tableName( 'page' ); |
1265 | 1269 | $pagelist = "'".implode( "', '", $pages)."'"; |