Commit 78edfd59 authored by guilhermeblanco's avatar guilhermeblanco

Fixed wrong call to _setExecuted in Pager

parent e5f2aa52
...@@ -109,9 +109,9 @@ class Doctrine_Pager ...@@ -109,9 +109,9 @@ class Doctrine_Pager
$count = $this->getCountQuery()->count($this->getCountQueryParams($params)); $count = $this->getCountQuery()->count($this->getCountQueryParams($params));
$this->_setNumResults($count); $this->_setNumResults($count);
$this->_adjustOffset(); $this->_setExecuted(true);
$this->_setExecuted(true); $this->_adjustOffset();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment