From f6a4905d77a9e309ec7bc7bf5776657588e95bc6 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 12 Jun 2007 00:36:29 +0000 Subject: [PATCH] Pass a valid $iPageRange into display_page_range(), otherwise display_page_range() behaves improperly --- include/objectManager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/objectManager.php b/include/objectManager.php index 4f9660e..08aca2b 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -580,6 +580,7 @@ class ObjectManager echo "Page $iPage of $iNumPages
"; /* Page controls */ + $iPageRange = 7; // the number of page links we want to display display_page_range($iPage, $iPageRange, $iNumPages, $this->makeUrl()."&iItemsPerPage=". "$iItemsPerPage");