Fix ajax.php top10 bug and add two missing fields.

This commit is contained in:
Ivailo Karamanolev 2014-09-18 21:53:24 -04:00
parent a5ebb19157
commit 06a8c8e6cf

View File

@ -173,7 +173,7 @@ function generate_torrent_json($Caption, $Tag, $Details, $Limit) {
'groupId' => (int)$GroupID,
'artist' => $TruncArtist,
'groupName' => $GroupName,
'groupCategory' => (int)$GroupCategory,
'groupCategory' => (int)$GroupCategoryID,
'groupYear' => (int)$GroupYear,
'remasterTitle' => $RemasterTitle,
'format' => $Format,
@ -189,6 +189,8 @@ function generate_torrent_json($Caption, $Tag, $Details, $Limit) {
'leechers' => (int)$Leechers,
'data' => (int)$Data,
'size' => (int)$Size,
'wikiImage' => $WikiImage,
'releaseType' => $ReleaseType,
);
}