Revision fdae3f7b
Von Moritz Bunkus vor mehr als 15 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
1232 | 1232 |
} else { |
1233 | 1233 |
|
1234 | 1234 |
if (!$self->{"do_not_attach"}) { |
1235 |
@{ $mail->{attachments} } = |
|
1236 |
({ "filename" => $self->{"tmpfile"}, |
|
1237 |
"name" => $self->{"attachment_filename"} ? |
|
1238 |
$self->{"attachment_filename"} : $self->{"tmpfile"} }); |
|
1235 |
$mail->{attachments} = [{ "filename" => $self->{"tmpfile"}, |
|
1236 |
"name" => $self->{"attachment_filename"} ? $self->{"attachment_filename"} : $self->{"tmpfile"} }]; |
|
1239 | 1237 |
} |
1240 | 1238 |
|
1241 | 1239 |
$mail->{message} =~ s/\r//g; |
Auch abrufbar als: Unified diff
Kosmetik.