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:
9f795a1
)
Quoting von Anführungszeichen für besseres Syntaxhighlighting.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 8 Feb 2008 10:58:32 +0000
(10:58 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 8 Feb 2008 10:58:32 +0000
(10:58 +0000)
SL/DBUtils.pm
patch
|
blob
|
history
diff --git
a/SL/DBUtils.pm
b/SL/DBUtils.pm
index
19e1aa1
..
19346eb
100644
(file)
--- a/
SL/DBUtils.pm
+++ b/
SL/DBUtils.pm
@@
-96,7
+96,7
@@
sub quote_db_date {
return "NULL" unless defined $str;
return "current_date" if $str =~ /current_date/;
- $str =~ s/
'/'
'/g;
+ $str =~ s/
\'/\'\
'/g;
return "'$str'";
}