X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=acqui%2Finvoice-files.pl;h=ce674e437b966a9122b4627077b87486e227e03a;hb=7b66b90fe707e8ac650a1c85d87560fc2f4a223d;hp=635c427a0a436f7699d28e8540510004803256ef;hpb=480847e81cca832a3e8eac35753532275ec49aec;p=koha-ffzg.git diff --git a/acqui/invoice-files.pl b/acqui/invoice-files.pl index 635c427a0a..ce674e437b 100755 --- a/acqui/invoice-files.pl +++ b/acqui/invoice-files.pl @@ -102,7 +102,7 @@ else { name => $filename, type => $mimetype, content => $file_content, - description => $input->param('description') + description => scalar $input->param('description') ); } } @@ -110,7 +110,7 @@ else { $errors{'no_file'} = 1; } } elsif ( $op eq 'delete' ) { - $mf->DelFile( id => $input->param('file_id') ); + $mf->DelFile( id => scalar $input->param('file_id') ); } $template->param(