]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Form.pm
Merge branch 'master' into rb-wiederkehrende-rechnungen
[kivitendo-erp.git] / SL / Form.pm
index 8532c656f7ec79ac3bc00a98f82cbc11d48cf9b0..e1646e69d228360a3650bcda04376f8f26e0dfde 100644 (file)
@@ -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;
@@ -1579,7 +1580,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);