Don't show queued screenshots in appview

This commit is contained in:
Jonathan Ernst
2005-02-17 01:16:51 +00:00
committed by WineHQ
parent 7d2505777f
commit 9ff4bc7771

View File

@@ -283,6 +283,7 @@ function get_screenshot_img($iAppId = null, $iVersionId = null)
WHERE appData.versionId = appVersion.versionId
AND appVersion.appId = $iAppId
AND type = 'image'
AND appData.queued = 'false'
ORDER BY rand");
} else if ($iVersionId) // we want a random screenshot for this version
{
@@ -290,6 +291,7 @@ function get_screenshot_img($iAppId = null, $iVersionId = null)
FROM appData
WHERE versionId = $iVersionId
AND type = 'image'
AND queued = 'false'
ORDER BY rand");
}
if(!$hResult || !mysql_num_rows($hResult))