X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB.pm;h=861fe6a52835bf8882e4e1185d6c4617c79878c0;hb=ed4b292c1489bbad1a6b3aa7d2f929fabff254bc;hp=55428615ff2bcef8483914622349ac90ddb944ee;hpb=37d7b8693393b7b99de7624f2c2aaa1ea7fb21ef;p=kivitendo-erp.git 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',