X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/32dbd0b3957724a442dc86c3adba9ef09c3f6d8e..9871f82b4a4f8f7aec00c5f950555645b5d56936:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 362268d3e..6f183e90a 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1201,7 +1201,7 @@ sub send_email { id => $attfile->id, type => $attfile->mime_type, name => $attfile->file_name, - content => $attfile->get_content }; + content => $attfile->get_content ? ${ $attfile->get_content } : undef }; } } $mail->{message} =~ s/\r//g;