From 58a1b54b6a04d70fda952ca86bc3b85b866264e9 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 8 Feb 2008 10:58:32 +0000 Subject: [PATCH] =?utf8?q?Quoting=20von=20Anf=C3=BChrungszeichen=20f=C3=BC?= =?utf8?q?r=20besseres=20Syntaxhighlighting.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DBUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"; } -- 2.20.1