From 78edfd59a67f4b26c4c40389ec574a34f7e8bb89 Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Thu, 17 Jan 2008 15:01:07 +0000 Subject: [PATCH] Fixed wrong call to _setExecuted in Pager --- lib/Doctrine/Pager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }