From 80fd412592f1be0e1658313cd2c19bfce76110d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Mon, 12 May 2008 21:44:07 +0200 Subject: [PATCH] Only show accepted versions on the front page --- include/util.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/util.php b/include/util.php index 5f4ce4d..719e0f9 100644 --- a/include/util.php +++ b/include/util.php @@ -304,6 +304,7 @@ function outputTopXRowAppsFromRating($sRating, $iNumApps) FROM appVotes, appVersion WHERE appVersion.rating = '?' AND appVersion.versionId = appVotes.versionId + AND appVersion.state = 'accepted' GROUP BY appVotes.versionId ORDER BY c DESC LIMIT ?";