From 9ff4bc77717ea77a114be3ae34a5577831763d13 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Thu, 17 Feb 2005 01:16:51 +0000 Subject: [PATCH] Don't show queued screenshots in appview --- include/screenshot.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/screenshot.php b/include/screenshot.php index de8bf36..5ff8cdb 100644 --- a/include/screenshot.php +++ b/include/screenshot.php @@ -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))