diff options
author | bbaetz%acm.org <> | 2003-01-30 15:20:56 +0000 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-01-30 15:20:56 +0000 |
commit | 7e2802df341267d95558e4e71e9e1856dc5d57f1 (patch) | |
tree | 7a01d85de956668769c59e9cf333b0f2b49f109c | |
parent | 62374aef893f20495ef27f9e45f57f837ed4b71b (diff) | |
download | bugs-7e2802df341267d95558e4e71e9e1856dc5d57f1.tar bugs-7e2802df341267d95558e4e71e9e1856dc5d57f1.tar.gz bugs-7e2802df341267d95558e4e71e9e1856dc5d57f1.tar.bz2 bugs-7e2802df341267d95558e4e71e9e1856dc5d57f1.tar.xz bugs-7e2802df341267d95558e4e71e9e1856dc5d57f1.zip |
Bug 191080 - fix SQLQuote return value for an undef input
r=gerv, a=justdave
-rw-r--r-- | Bugzilla/DB.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |