Page MenuHomePhabricator

pager-diff.txt

Authored By
bzimport
Nov 21 2014, 9:20 PM
Size
556 B
Referenced Files
None
Subscribers
None

pager-diff.txt

Index: includes/Pager.php
===================================================================
--- includes/Pager.php (revision 16755)
+++ includes/Pager.php (working copy)
@@ -77,7 +77,7 @@
# HTML!
$this->mOffset = $this->mRequest->getText( 'offset' );
$this->mLimit = $this->mRequest->getInt( 'limit', $this->mDefaultLimit );
- if ( $this->mLimit <= 0 ) {
+ if ( $this->mLimit <= 0 || $this->mLimit > 50000 ) {
$this->mLimit = $this->mDefaultLimit;
}
$this->mIsBackwards = ( $this->mRequest->getVal( 'dir' ) == 'prev' );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2630
Default Alt Text
pager-diff.txt (556 B)

Event Timeline