From 7e2802df341267d95558e4e71e9e1856dc5d57f1 Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" <> Date: Thu, 30 Jan 2003 15:20:56 +0000 Subject: Bug 191080 - fix SQLQuote return value for an undef input r=gerv, a=justdave --- Bugzilla/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') 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; -- cgit v1.2.3-24-g4f1b