Index: trunk/extensions/FlaggedRevs/presentation/specialpages/reports/PendingChanges_body.php |
— | — | @@ -38,7 +38,9 @@ |
39 | 39 | $this->feed( $feedType ); |
40 | 40 | } else { |
41 | 41 | if ( $this->including() ) { |
42 | | - $this->pager->setLimit( $incLimit ); // apply non-URL limit |
| 42 | + if ( $incLimit ) { // limit provided |
| 43 | + $this->pager->setLimit( $incLimit ); // apply non-URL limit |
| 44 | + } |
43 | 45 | } else { |
44 | 46 | $this->setSyndicated(); |
45 | 47 | $this->showForm(); |