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
This commit is contained in:
bbaetz%acm.org
2003-01-30 07:20:56 +00:00
parent 9072bc6a29
commit e3f9209f48

View File

@@ -69,7 +69,7 @@ sub SqlQuote {
my ($str) = @_;
# Backwards compat code
return '' if not defined $str;
return "''" if not defined $str;
require Bugzilla;