X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/8c7e44938a661e035f62840e1e177353240ace5d..168c0a5f71da53e17ff90b9dc1ece9557336314f:/SL/DBUtils.pm 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'"; }