From 262811c8effee37078b9d22695cb44b4960b5e7d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 16 Mar 2021 16:59:35 +0100 Subject: [PATCH] File-Helper: unbenutzten Parameter file_number entfernt --- SL/Helper/File.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SL/Helper/File.pm b/SL/Helper/File.pm index b90948f32..96901184b 100644 --- a/SL/Helper/File.pm +++ b/SL/Helper/File.pm @@ -23,7 +23,7 @@ sub store_pdf { my $id = $form->{id}; $id = $form->{attachment_id} if $form->{attachment_id} && !$form->{id}; return if !$id || !$type; - my $prefix = $form->get_number_prefix_for_type(); + SL::File->save( object_id => $id, object_type => $type, @@ -32,7 +32,6 @@ sub store_pdf { file_type => 'document', file_name => $form->{attachment_filename}, file_path => $form->{tmpfile}, - file_number => $form->{"${prefix}number"}, ); } -- 2.20.1