From 8e0ac85dcabc7bf33d2239e508a70d7cca0994b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 20 Jun 2013 18:49:32 +0200 Subject: [PATCH] Zu Compilezeit keine Warnung in DBConnect werfen weil datestyle ungesetzt ist --- SL/DBConnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1