Pass a valid $iPageRange into display_page_range(), otherwise display_page_range() behaves

improperly
This commit is contained in:
Chris Morgan
2007-06-12 00:36:29 +00:00
committed by WineHQ
parent ffd812b8a6
commit f6a4905d77

View File

@@ -580,6 +580,7 @@ class ObjectManager
echo "<b>Page $iPage of $iNumPages</b><br />";
/* Page controls */
$iPageRange = 7; // the number of page links we want to display
display_page_range($iPage, $iPageRange, $iNumPages, $this->makeUrl()."&iItemsPerPage=".
"$iItemsPerPage");