X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/11b9540068f2b2c92d8a74542c73ba338b523431..5c886d92102c1f897e498d10fa6f58948f06ac78:/SL/DB.pm diff --git a/SL/DB.pm b/SL/DB.pm index 55428615f..861fe6a52 100644 --- a/SL/DB.pm +++ b/SL/DB.pm @@ -67,7 +67,8 @@ sub _register_db { } else { my $european_dates = 0; if ($::myconfig{dateformat}) { - $european_dates = 1 if $_dateformats{ $::myconfig{dateformat} } =~ m/european/i; + $european_dates = 1 if $_dateformats{ $::myconfig{dateformat} } + && $_dateformats{ $::myconfig{dateformat} } =~ m/european/i; } %connect_settings = ( driver => $::myconfig{dbdriver} || 'Pg',