X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/6cf3f7762efd40bee49a2b8f11bb4ab6915d9071..b513b1ef51a01f90bd2a234a69fae4f69013d0f3:/SL/DB/Object.pm diff --git a/SL/DB/Object.pm b/SL/DB/Object.pm index f13851800..52b9300a9 100644 --- a/SL/DB/Object.pm +++ b/SL/DB/Object.pm @@ -25,7 +25,7 @@ sub new { sub init_db { my $class_or_self = shift; my $class = ref($class_or_self) || $class_or_self; - my $type = 'LXOFFICE'; + my $type = $class =~ m/::Auth/ ? 'LXOFFICE_AUTH' : 'LXOFFICE'; return SL::DB::create(undef, $type); }