X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/00e5ce0d02a0d1e5a6f7b8a28744ee7961932a0b..2bc081d8f636bf558b7f3eb8bb9e4e99d45e6ca1:/SL/DN.pm diff --git a/SL/DN.pm b/SL/DN.pm index f1e132fb7..72154c24f 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -363,7 +363,7 @@ sub send_email { return; } - my $template = PlainTextTemplate->new(undef, $form, $myconfig); + my $template = SL::Template::create(type => 'PlainText', form => $form, myconfig => $myconfig); my $mail = Mailer->new(); $mail->{from} = $myconfig->{email}; $mail->{to} = $ref->{recipient};