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:
33ba995
)
dump_query Parameter initialisieren.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 16 Aug 2010 09:09:05 +0000
(11:09 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 16 Aug 2010 09:09:05 +0000
(11:09 +0200)
SL/DBUtils.pm
patch
|
blob
|
history
diff --git
a/SL/DBUtils.pm
b/SL/DBUtils.pm
index
e0a362f
..
4a4ac25
100644
(file)
--- a/
SL/DBUtils.pm
+++ b/
SL/DBUtils.pm
@@
-84,7
+84,7
@@
sub dump_query {
}
while ($query =~ /\?/) {
- my $value = shift
(@_)
;
+ my $value = shift
|| ''
;
$value =~ s/\'/\\\'/g;
$value = "'${value}'";
$query =~ s/\?/$value/;