X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDBConnect.pm;h=9142f1c71b6a6b50365adf2cd6967299277cee67;hb=223e6d0cf51b9847fd164b76c5a7fb77219f1855;hp=7d3ea41088e086407c934f3ae03b1ba7ca210ef4;hpb=0d1bb5102f01eb03da55bc87b52ac52cd7ae7534;p=kivitendo-erp.git diff --git a/SL/DBConnect.pm b/SL/DBConnect.pm index 7d3ea4108..9142f1c71 100644 --- a/SL/DBConnect.pm +++ b/SL/DBConnect.pm @@ -44,7 +44,7 @@ sub connect { sub get_datestyle { my ($self, $dateformat) = @_; - return $dateformat_to_datestyle{ $dateformat || $::myconfig{dateformat} }; + return $dateformat_to_datestyle{ $dateformat || $::myconfig{dateformat} // '' }; } sub get_initial_sql {