summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-06 08:21:29 +0200
committerByron Jones <bjones@mozilla.com>2013-05-06 08:21:29 +0200
commite99876edf0c74a0924856ba7e7f988457b18478b (patch)
tree3f10e4b0618307849d3b271a964b1e48b00b55d0 /report.cgi
parentb4410eb57d8e07de23de18b6375039c47e6cea35 (diff)
parent00580923eb02b98581d9b4fc24f22fcaaf15b5a0 (diff)
downloadbugzilla-e99876edf0c74a0924856ba7e7f988457b18478b.tar.gz
bugzilla-e99876edf0c74a0924856ba7e7f988457b18478b.tar.xz
merge with bugzilla/4.2
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi
index decbaeeb2..4e8689527 100755
--- a/report.cgi
+++ b/report.cgi
@@ -321,7 +321,7 @@ sub get_names {
foreach my $value (@{$field->legal_values}) {
push(@sorted, $value->name) if $names->{$value->name};
}
- unshift(@sorted, ' ') if $field_name eq 'resolution';
+ unshift(@sorted, '---') if $field_name eq 'resolution';
@sorted = uniq @sorted;
}
elsif ($isnumeric) {
@@ -350,6 +350,7 @@ sub check_value {
else {
$value = shift @$result;
$value = ' ' if (!defined $value || $value eq '');
+ $value = '---' if ($field eq 'resolution' && $value eq ' ');
}
return $value;
}