From: Bernd Bleßmann Date: Tue, 16 Mar 2021 15:59:35 +0000 (+0100) Subject: File-Helper: unbenutzten Parameter file_number entfernt X-Git-Tag: kivitendo-mebil_0.1-0~9^2~437 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=262811c8effee37078b9d22695cb44b4960b5e7d;p=kivitendo-erp.git File-Helper: unbenutzten Parameter file_number entfernt --- 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"}, ); }