ChangeSet ID: 31191 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/06/11 20:28:59 Modified files: include : objectManager.php Log message: Chris Morgan <cmorgan(a)alum.wpi.edu> Fix incorrect member variable, its $bIsQueue, not $bIsQueued. Fixes the number of items on a multi-page queue Patch: http://cvs.winehq.org/patch.py?id=31191 Old revision New revision Changes Path 1.25 1.26 +3 -3 appdb/include/objectManager.php Index: appdb/include/objectManager.php diff -u -p appdb/include/objectManager.php:1.25 appdb/include/objectManager.php:1.26 --- appdb/include/objectManager.php:1.25 12 Jun 2007 1:28:59 -0000 +++ appdb/include/objectManager.php 12 Jun 2007 1:28:59 -0000 @@ -566,7 +566,7 @@ class ObjectManager $sControls .= " <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;
participants (1)
-
WineHQ