Bug 7169: Follow-up: Change booksellers search results display
[koha_fer] / tools / upload-file.pl
index 1f38d07..d520b4d 100755 (executable)
@@ -80,5 +80,5 @@ sub send_reply {
     my $reply = CGI->new("");
     print $reply->header(-type => 'text/html');
     # response will be sent back as JSON
-    print "{ status: '$upload_status', fileid: '$fileid' }";
+    print '{"status":"' . $upload_status . '","fileid":"' . $fileid . '"}';
 }