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:
@@ -69,7 +69,7 @@ sub SqlQuote {
|
||||
my ($str) = @_;
|
||||
|
||||
# Backwards compat code
|
||||
return '' if not defined $str;
|
||||
return "''" if not defined $str;
|
||||
|
||||
require Bugzilla;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user