summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-01-30 16:20:56 +0100
committerbbaetz%acm.org <>2003-01-30 16:20:56 +0100
commit7e2802df341267d95558e4e71e9e1856dc5d57f1 (patch)
tree7a01d85de956668769c59e9cf333b0f2b49f109c /Bugzilla
parent62374aef893f20495ef27f9e45f57f837ed4b71b (diff)
downloadbugzilla-7e2802df341267d95558e4e71e9e1856dc5d57f1.tar.gz
bugzilla-7e2802df341267d95558e4e71e9e1856dc5d57f1.tar.xz
Bug 191080 - fix SQLQuote return value for an undef input
r=gerv, a=justdave
Diffstat (limited to 'Bugzilla')
-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;