X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/47f1b10f41e43fab04c61e9bd7c31833ff713322..faef45c2e723c9fbc80d1d84b8481367204719b7:/SL/DBUpgrade2.pm diff --git a/SL/DBUpgrade2.pm b/SL/DBUpgrade2.pm index 8cde113ea..66ce85f9c 100644 --- a/SL/DBUpgrade2.pm +++ b/SL/DBUpgrade2.pm @@ -1,5 +1,7 @@ package SL::DBUpgrade2; +use SL::Common; + require Exporter; @ISA = qw(Exporter); @@ -45,6 +47,8 @@ sub parse_dbupdate_controls { } } + $control->{charset} ||= Common::DEFAULT_CHARSET; + _control_error($form, $file_name, $locale->text("Missing 'tag' field.")) unless ($control->{"tag"});