X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7aa7cf54cceddea3c86c231a3704d82e7ed30d7b..6a7d9449271bfeeb49c2a2192870ecd2b8f7c86c:/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;