replace mysql_query with query_appdb in index.php

This commit is contained in:
Jonathan Ernst
2004-12-29 03:37:58 +00:00
committed by WineHQ
parent a81b132d83
commit 035750d787

View File

@@ -76,7 +76,7 @@ wine-users mailing list or the wine newsgroup, for more information visit
"FROM appVotes, appFamily ". "FROM appVotes, appFamily ".
"WHERE appVotes.appId = appFamily.appId ". "WHERE appVotes.appId = appFamily.appId ".
"GROUP BY appId ORDER BY count DESC LIMIT 1"; "GROUP BY appId ORDER BY count DESC LIMIT 1";
$result = mysql_query($voteQuery); $result = query_appdb($voteQuery);
$ob = mysql_fetch_object($result); $ob = mysql_fetch_object($result);
$voteAppId = $ob->appId; $voteAppId = $ob->appId;