From e3f9209f483bb598ba43e91cdc648e316fc3f52a Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" Date: Thu, 30 Jan 2003 07:20:56 +0000 Subject: [PATCH] Bug 191080 - fix SQLQuote return value for an undef input r=gerv, a=justdave git-svn-id: svn://10.0.0.236/trunk@137131 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/DB.pm b/mozilla/webtools/bugzilla/Bugzilla/DB.pm index c4c861cb9ba..53286da89d7 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/DB.pm +++ b/mozilla/webtools/bugzilla/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;