projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a422e87
)
File-Helper: unbenutzten Parameter file_number entfernt
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Tue, 16 Mar 2021 15:59:35 +0000
(16:59 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 17 Mar 2021 11:23:55 +0000
(12:23 +0100)
SL/Helper/File.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/File.pm
b/SL/Helper/File.pm
index
b90948f
..
9690118
100644
(file)
--- 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"},
);
}