X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/1682d89db6e03ed1c49396c127f727e394ae52f9..5548540b4fa7fc79fbab3ea000861f9a8c7c67e1:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 6a5745b43..6d2ae4914 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1580,7 +1580,8 @@ sub dbconnect_noauto { sub get_standard_dbh { $main::lxdebug->enter_sub(2); - my ($self, $myconfig) = @_; + my $self = shift; + my $myconfig = shift || \%::myconfig; if ($standard_dbh && !$standard_dbh->{Active}) { $main::lxdebug->message(LXDebug->INFO(), "get_standard_dbh: \$standard_dbh is defined but not Active anymore");