projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b9540
)
SL::DB: Eine Warning unterdrücken
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 16 Jan 2012 17:35:57 +0000
(18:35 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 16 Jan 2012 17:35:57 +0000
(18:35 +0100)
SL/DB.pm
patch
|
blob
|
history
diff --git
a/SL/DB.pm
b/SL/DB.pm
index
5542861
..
861fe6a
100644
(file)
--- 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',