summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index c4c861cb9..53286da89 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -69,7 +69,7 @@ sub SqlQuote {
my ($str) = @_;
# Backwards compat code
- return '' if not defined $str;
+ return "''" if not defined $str;
require Bugzilla;