From 30636f6b850578e417b5b28d309f9c7ff5c0130f Mon Sep 17 00:00:00 2001 From: Git Date: Sat, 18 Feb 2012 08:00:22 +0000 Subject: [PATCH] Empty commit --- sections/ajax/requests.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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,