- Patch #922380 by Berdir: custom PagerDefault count queries getter method is protected.

merge-requests/26/head
Dries Buytaert 2010-10-03 02:47:30 +00:00
parent 893a70b62d
commit 3e05ba7bcc
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class PagerDefault extends SelectQueryExtender {
* @return SelectQueryInterface * @return SelectQueryInterface
* A count query object. * A count query object.
*/ */
protected function getCountQuery() { public function getCountQuery() {
if ($this->customCountQuery) { if ($this->customCountQuery) {
return $this->customCountQuery; return $this->customCountQuery;
} }