From: Moritz Bunkus Date: Fri, 8 Feb 2008 10:58:32 +0000 (+0000) Subject: Quoting von Anführungszeichen für besseres Syntaxhighlighting. X-Git-Tag: release-2.6.0beta1~246 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=58a1b54b6a04d70fda952ca86bc3b85b866264e9;p=kivitendo-erp.git Quoting von Anführungszeichen für besseres Syntaxhighlighting. --- diff --git a/SL/DBUtils.pm b/SL/DBUtils.pm index 19e1aa15a..19346eb81 100644 --- 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'"; }