X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/e61cd137aeee9dc354fa29a9d13398200a1baeca..ae15b9a0775cb28e760460a3ae4de20d43c3cb5d:/SL/Controller/File.pm diff --git a/SL/Controller/File.pm b/SL/Controller/File.pm index 875478fb2..8d2e9f2bd 100644 --- a/SL/Controller/File.pm +++ b/SL/Controller/File.pm @@ -309,8 +309,8 @@ sub action_download { sub check_object_params { my ($self) = @_; - my $id = $::form->{object_id} +0; - my $draftid = $::form->{draft_id} +0; + my $id = ($::form->{object_id} // 0) * 1; + my $draftid = ($::form->{draft_id} // 0) * 1; my $gldoc = 0; my $type = undef;