diff --git a/sections/ajax/requests.php b/sections/ajax/requests.php index 6f824997..950c423b 100644 --- a/sections/ajax/requests.php +++ b/sections/ajax/requests.php @@ -331,9 +331,10 @@ $CategoryName = $Categories[$CategoryID - 1]; } - $ArtistLink = ""; + $JsonArtists = array(); if($CategoryName == "Music") { - $ArtistLink = display_artists($ArtistForm, false, false); + $ArtistForm = get_request_artists($RequestID); + $JsonArtists = array_values($ArtistForm); } $Tags = $Request['Tags']; @@ -348,7 +349,7 @@ 'bounty' => $RequestVotes['TotalBounty'], 'categoryId' => (int) $CategoryID, 'categoryName' => $CategoryName, - 'artist' => $ArtistLink, + 'artists' => $JsonArtists, 'title' => $Title, 'year' => (int) $Year, 'image' => $Image,