]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DBConnect.pm
t/test.pl: File::Find macht nur dann lstat wenn follow oder follow_fast als option...
[mfinanz.git] / SL / DBConnect.pm
index 7d3ea41088e086407c934f3ae03b1ba7ca210ef4..9142f1c71b6a6b50365adf2cd6967299277cee67 100644 (file)
@@ -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 {