https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115626
Revision: 115626 Author: mah Date: 2012-07-27 15:38:21 +0000 (Fri, 27 Jul 2012) Log Message: ----------- don't override limit and offset if the user provides them. Modified Paths: -------------- trunk/tools/bugzilla/client/bugzilla.php Modified: trunk/tools/bugzilla/client/bugzilla.php =================================================================== --- trunk/tools/bugzilla/client/bugzilla.php 2012-07-27 15:25:34 UTC (rev 115625) +++ trunk/tools/bugzilla/client/bugzilla.php 2012-07-27 15:38:21 UTC (rev 115626) @@ -259,8 +259,8 @@ $this->bz = $bz; $this->conditions = $conditions; - $this->conditions['limit'] = $this->limit; - $this->conditions['offset'] = $this->offset; + if( !isset( $this->conditions['limit'] ) ) $this->conditions['limit'] = $this->limit; + if( !isset( $this->conditions['offset'] ) ) $this->conditions['offset'] = $this->offset; } private function fetchNext( ) { _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits