From b9588ab76e060a78d6be9c3dd2b45f84938f2eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 16 Jun 2007 17:00:57 +0000 Subject: [PATCH] Store iPage in handleMultiPageControls(). Fixes the case where an iPage would not be set for page 1, causing iItemsPerPage value to be ignored when returning from data processing --- include/objectManager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/objectManager.php b/include/objectManager.php index 5b0ddbb..09c027b 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -689,6 +689,7 @@ class ObjectManager /* Fill the MultiPage object with the LIMIT related values */ $iLowerLimit = ($iPage - 1) * $iItemsPerPage; $this->oMultiPage->MultiPage(TRUE, $iItemsPerPage, $iLowerLimit); + $this->oMultiPage->iPage = $iPage; } function getQueueString($bQueued, $bRejected)