Fix screenshots for the top-X lists. We were passing a versionId as the first parameter of a function that expected an appId as the first parameter

This commit is contained in:
Chris Morgan
2005-09-26 01:37:12 +00:00
committed by WineHQ
parent 2edc247c00
commit 5b846f81ac

View File

@@ -252,7 +252,7 @@ function outputTopXRow($oRow)
{
$oVersion = new Version($oRow->versionId);
$oApp = new Application($oVersion->iAppId);
$img = get_screenshot_img($oRow->versionId); // image
$img = get_screenshot_img(null, $oRow->versionId); // image
echo '
<tr class="white">
<td><a href="appview.php?versionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>