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:
fac8417
)
Name für Attachment auch zurückliefern, wenn keine Belegnummer vorhanden ist.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 23 Sep 2015 12:03:36 +0000
(14:03 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 23 Sep 2015 12:03:36 +0000
(14:03 +0200)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
f946606
..
9c6a3a8
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1301,6
+1301,9
@@
sub generate_attachment_filename {
} elsif ($attachment_filename && $self->{"${prefix}number"}) {
$attachment_filename .= "_" . $self->{"${prefix}number"} . $self->get_extension_for_format();
+ } elsif ($attachment_filename) {
+ $attachment_filename .= $self->get_extension_for_format();
+
} else {
$attachment_filename = "";
}