diff --git a/lib/Doctrine/Pager.php b/lib/Doctrine/Pager.php index cc8351ff2..4022c4064 100644 --- a/lib/Doctrine/Pager.php +++ b/lib/Doctrine/Pager.php @@ -109,9 +109,9 @@ class Doctrine_Pager $count = $this->getCountQuery()->count($this->getCountQueryParams($params)); $this->_setNumResults($count); - $this->_adjustOffset(); + $this->_setExecuted(true); - $this->_setExecuted(true); + $this->_adjustOffset(); }