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:
1814001
)
DBConnect-Cache: undefined-Warnungen vermeiden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 1 Jul 2015 08:34:33 +0000
(10:34 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 3 Jul 2015 08:08:45 +0000
(10:08 +0200)
Treten z.B. beim Aufsetzen der Testdatenbank auf.
SL/DBConnect/Cache.pm
patch
|
blob
|
history
diff --git
a/SL/DBConnect/Cache.pm
b/SL/DBConnect/Cache.pm
index
778785c
..
262c113
100644
(file)
--- a/
SL/DBConnect/Cache.pm
+++ b/
SL/DBConnect/Cache.pm
@@
-52,7
+52,7
@@
sub _args2str {
map { $_ => $options->{$_} }
sort keys %$options; # deterministic order
- join ';', apply { s/([;\\])/\\$1/g } $dbconnect, $dbuser, $dbpasswd, $options_str, $initial_sql;
+ join ';', apply {
$_ //= '';
s/([;\\])/\\$1/g } $dbconnect, $dbuser, $dbpasswd, $options_str, $initial_sql;
}
1;