]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DBUpgrade2.pm
Globale Variablen für Systemeinstellungen und Features nach %::lx_office_conf verschoben
[mfinanz.git] / SL / DBUpgrade2.pm
index ca45510f07f635bcc6e6ff3c37a5b7f615523285..af5037acc4be9527311234738856abc375c29121 100644 (file)
@@ -353,7 +353,7 @@ sub apply_admin_dbupgrade_scripts {
 
   return 0 if !@unapplied_scripts;
 
-  my $db_charset           = $main::dbcharset || Common::DEFAULT_CHARSET;
+  my $db_charset           = $::lx_office_conf{system}->{dbcharset} || Common::DEFAULT_CHARSET;
   $self->{form}->{login} ||= 'admin';
 
   map { $_->{description} = SL::Iconv::convert($_->{charset}, $db_charset, $_->{description}) } values %{ $self->{all_controls} };