X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/19ee5c1b75fba3b5a11b7b5c2c6d33bbecd8ada5..568004bad2ee44969edd1f484d8020f4433dc233:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 644b9dbea..5424a7c92 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1212,9 +1212,9 @@ sub send_email { } } foreach my $attfile ( @attfiles ) { - push @{ $mail->{attachments} }, { path => SL::File->get_file_path(dbfile => $attfile), + push @{ $mail->{attachments} }, { path => $attfile->get_file, id => $attfile->id, - type => $attfile->file_mime_type, + type => $attfile->mime_type, name => $attfile->file_name }; } }