projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/new/bug_7408'
[koha_fer]
/
tools
/
upload-file.pl
diff --git
a/tools/upload-file.pl
b/tools/upload-file.pl
index
6b1fabb
..
d520b4d
100755
(executable)
--- a/
tools/upload-file.pl
+++ b/
tools/upload-file.pl
@@
-18,6
+18,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
# standard or CPAN modules used
use IO::File;
# standard or CPAN modules used
use IO::File;
@@
-79,5
+80,5
@@
sub send_reply {
my $reply = CGI->new("");
print $reply->header(-type => 'text/html');
# response will be sent back as JSON
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 . '"}'
;
}
}