From: Moritz Bunkus Date: Fri, 18 May 2007 11:43:18 +0000 (+0000) Subject: "use"-Anweisungen gehören an den Anfang der Datei. X-Git-Tag: release-2.4.3^2~289 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2584d83bc80331cd77f03d0588205fa465cdb13a;p=kivitendo-erp.git "use"-Anweisungen gehören an den Anfang der Datei. --- diff --git a/SL/Form.pm b/SL/Form.pm index 7803fc394..b9f0ad8e4 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -43,6 +43,7 @@ use HTML::Template; use SL::Template; use CGI::Ajax; use SL::DBUtils; +use SL::Mailer; use SL::Menu; use SL::User; use SL::Common; @@ -812,8 +813,6 @@ sub parse_template { if ($self->{media} eq 'email') { - use SL::Mailer; - my $mail = new Mailer; map { $mail->{$_} = $self->{$_} }