projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Umleitung der Ansprechpersonensuche (im MenĂ¼V3-Header) gefixt
[kivitendo-erp.git]
/
SL
/
DB.pm
diff --git
a/SL/DB.pm
b/SL/DB.pm
index
5542861
..
dd55163
100644
(file)
--- a/
SL/DB.pm
+++ b/
SL/DB.pm
@@
-38,9
+38,7
@@
sub create {
my %_dateformats = ( 'yy-mm-dd' => 'ISO',
'yyyy-mm-dd' => 'ISO',
'mm/dd/yy' => 'SQL, US',
my %_dateformats = ( 'yy-mm-dd' => 'ISO',
'yyyy-mm-dd' => 'ISO',
'mm/dd/yy' => 'SQL, US',
- 'mm-dd-yy' => 'POSTGRES, US',
'dd/mm/yy' => 'SQL, EUROPEAN',
'dd/mm/yy' => 'SQL, EUROPEAN',
- 'dd-mm-yy' => 'POSTGRES, EUROPEAN',
'dd.mm.yy' => 'GERMAN'
);
'dd.mm.yy' => 'GERMAN'
);
@@
-67,7
+65,8
@@
sub _register_db {
} else {
my $european_dates = 0;
if ($::myconfig{dateformat}) {
} 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',
}
%connect_settings = ( driver => $::myconfig{dbdriver} || 'Pg',