diff options
author | wurblzap%gmail.com <> | 2005-10-28 19:25:44 +0200 |
---|---|---|
committer | wurblzap%gmail.com <> | 2005-10-28 19:25:44 +0200 |
commit | e942748a69920c86a7eaba517c9a74223da52edb (patch) | |
tree | 079e269973b81226df1bd21a557c3e6581f68229 | |
parent | f9fc614717e56785e40ef7a0a5ed4cd77ecbcdc4 (diff) | |
download | bugzilla-e942748a69920c86a7eaba517c9a74223da52edb.tar.gz bugzilla-e942748a69920c86a7eaba517c9a74223da52edb.tar.xz |
Bug 313941: sanitycheck should quote bad values so empty values are apparent
Patch by Matt McHenry <mmchenry@carnegielearning.com>
r=wurblzap, a=justdave
-rwxr-xr-x | sanitycheck.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 0ae58591c..317464749 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -302,7 +302,7 @@ sub CrossCheck { while (MoreSQLData()) { my ($value, $key) = FetchSQLData(); if (!$exceptions{$value}) { - my $alert = "Bad value $value found in $refertable.$referfield"; + my $alert = "Bad value "$value" found in $refertable.$referfield"; if ($keyname) { if ($keyname eq 'bug_id') { $alert .= ' (bug ' . BugLink($key) . ')'; @@ -463,7 +463,7 @@ sub DoubleCrossCheck { while (MoreSQLData()) { my ($value1, $value2, $key) = FetchSQLData(); - my $alert = "Bad values $value1, $value2 found in " . + my $alert = "Bad values "$value1", "$value2" found in " . "$refertable.$referfield1 / $refertable.$referfield2"; if ($keyname) { if ($keyname eq 'bug_id') { |