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:
@@ -252,7 +252,7 @@ function outputTopXRow($oRow)
|
|||||||
{
|
{
|
||||||
$oVersion = new Version($oRow->versionId);
|
$oVersion = new Version($oRow->versionId);
|
||||||
$oApp = new Application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$img = get_screenshot_img($oRow->versionId); // image
|
$img = get_screenshot_img(null, $oRow->versionId); // image
|
||||||
echo '
|
echo '
|
||||||
<tr class="white">
|
<tr class="white">
|
||||||
<td><a href="appview.php?versionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>
|
<td><a href="appview.php?versionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user