X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/37d7b8693393b7b99de7624f2c2aaa1ea7fb21ef..211de9e3a7748d80cada65e5dde13a41b9e3f749:/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',