Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x
[koha.git] / offline_circ / process_koc.pl
index b22ae24..6c48ffb 100755 (executable)
@@ -92,7 +92,7 @@ if ($completedJobID) {
 
             my $reply = CGI->new("");
             print $reply->header(-type => 'text/html');
-            print "{ jobID: '$jobID' }";
+            print '{"jobID":"' . $jobID . '"}';
             exit 0;
         } elsif (defined $pid) {
             # child