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:
f52b573
)
Kosmetik.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 4 May 2009 11:13:47 +0000
(11:13 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 4 May 2009 11:13:47 +0000
(11:13 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
71af15e
..
8ed29eb
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1232,10
+1232,8
@@
sub parse_template {
} else {
if (!$self->{"do_not_attach"}) {
- @{ $mail->{attachments} } =
- ({ "filename" => $self->{"tmpfile"},
- "name" => $self->{"attachment_filename"} ?
- $self->{"attachment_filename"} : $self->{"tmpfile"} });
+ $mail->{attachments} = [{ "filename" => $self->{"tmpfile"},
+ "name" => $self->{"attachment_filename"} ? $self->{"attachment_filename"} : $self->{"tmpfile"} }];
}
$mail->{message} =~ s/\r//g;