Fix screenshot counting and browsing. Make sure to specify the 'screenshot' tpe and use

appData functions for both counting and listing on the screenshots page, ensuring consistent
results.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-13 00:13:51 +00:00
committed by WineHQ
parent 695e8c32a1
commit 3c3e3a7ca4
4 changed files with 34 additions and 17 deletions

View File

@@ -509,9 +509,9 @@ class Screenshot {
return $shImg;
}
function objectGetEntries($bQueued)
function objectGetEntries($bQueued, $iRows = 0, $iStart = 0)
{
return appData::objectGetEntries($bQueued, "screenshot");
return appData::objectGetEntries($bQueued, $iRows, $iStart, "screenshot");
}
function objectOutputHeader($sClass)