Commit 7e2802df authored by bbaetz%acm.org's avatar bbaetz%acm.org

Bug 191080 - fix SQLQuote return value for an undef input

r=gerv, a=justdave
parent 62374aef
......@@ -69,7 +69,7 @@ sub SqlQuote {
my ($str) = @_;
# Backwards compat code
return '' if not defined $str;
return "''" if not defined $str;
require Bugzilla;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment