Fix incorrect member variable, its $bIsQueue, not $bIsQueued. Fixes the number of items on a

multi-page queue
This commit is contained in:
Chris Morgan
2007-06-12 01:28:59 +00:00
committed by WineHQ
parent 2c4929e7e1
commit 945df6a78c

View File

@@ -566,7 +566,7 @@ class ObjectManager
$sControls .= " &nbsp; <input type=\"submit\" value=\"Update\" />";
$sControls .= "</form></p>";
$iTotalEntries = $oObject->objectGetEntriesCount($this->bIsQueued, $this->bIsRejected);
$iTotalEntries = $oObject->objectGetEntriesCount($this->bIsQueue, $this->bIsRejected);
$iNumPages = ceil($iTotalEntries / $iItemsPerPage);
/* Check current page value */
@@ -581,8 +581,8 @@ class ObjectManager
/* Page controls */
$iPageRange = 7; // the number of page links we want to display
display_page_range($iPage, $iPageRange, $iNumPages, $this->makeUrl()."&iItemsPerPage=".
"$iItemsPerPage");
display_page_range($iPage, $iPageRange, $iNumPages,
$this->makeUrl()."&iItemsPerPage=$iItemsPerPage");
echo $sControls;