Bug 69481

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1078 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2010-11-16 15:29:27 +00:00
parent 58511a9616
commit c0b8841a39
1 changed files with 4 additions and 3 deletions

View File

@ -416,8 +416,8 @@ sub init {
if (grep { $_->name eq $field } @legal_fields)
{
my $type = $params->param("${field}_type");
my @values = $params->param($field);
next if !join '', @values;
my $values = [ $params->param($field) ];
next if !join '', @$values;
if (!$type)
{
if ($field eq 'keywords')
@ -430,7 +430,8 @@ sub init {
}
}
$type = 'matches' if $field eq 'content';
push @specialchart, [$field, $type, \@values];
$values = join ',', @$values if $type ne 'anyexact';
push @specialchart, [$field, $type, $values];
}
}