X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/41400107ec8929d6ea107de7f5238006e9de029c..42ea98b4:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index e2a484ed1..2dcd31f7c 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -48,6 +48,7 @@ use SL::Auth; use SL::Auth::DB; use SL::Auth::LDAP; use SL::AM; +use SL::DB; use SL::Common; use SL::DBUtils; use SL::Mailer; @@ -762,9 +763,8 @@ sub _prepare_html_template { $file = "templates/webpages/${file}.html"; } else { - my $info = "Web page template '${file}' not found.\n" . - "Please re-run 'locales.pl' in 'locale/${language}'."; - print(qq|
$info|); + my $info = "Web page template '${file}' not found.\n"; + print qq|
$info|; ::end_of_request(); } @@ -1581,7 +1581,7 @@ sub get_standard_dbh { undef $standard_dbh; } - $standard_dbh ||= $self->dbconnect_noauto($myconfig); + $standard_dbh ||= SL::DB::create->dbh; $main::lxdebug->leave_sub(2);