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