Fix code for getting random apps with screenshots on front page
This commit is contained in:
committed by
Chris Morgan
parent
80fd412592
commit
ef64981a1b
@@ -325,8 +325,9 @@ function outputTopXRowAppsFromRating($sRating, $iNumApps)
|
||||
FROM appVersion, appData
|
||||
WHERE appVersion.rating = '$sRating'
|
||||
AND appVersion.versionId = appData.versionId
|
||||
AND appVersion.state = 'accepted'
|
||||
AND appData.type = 'screenshot'
|
||||
AND appData.queued = 'false'";
|
||||
AND appData.state = 'accepted'";
|
||||
|
||||
/* make sure we exclude any apps we've already output */
|
||||
foreach($aVersionId as $key=>$value)
|
||||
|
||||
Reference in New Issue
Block a user