|
|
|
|
| 237 |
next; |
237 |
next; |
| 238 |
} |
238 |
} |
| 239 |
my $type = $params->param("emailtype$id"); |
239 |
my $type = $params->param("emailtype$id"); |
| 240 |
if ($type eq "exact") { |
240 |
$type = "anyexact" if ($type eq "exact"); |
| 241 |
$type = "anyexact"; |
|
|
| 242 |
foreach my $name (split(',', $email)) { |
| 243 |
$name = trim($name); |
| 244 |
if ($name) { |
| 245 |
login_to_id($name, THROW_ERROR); |
| 246 |
} |
| 247 |
} |
| 248 |
} |
| 249 |
|
241 |
|
| 250 |
my @clist; |
242 |
my @clist; |
| 251 |
foreach my $field ("assigned_to", "reporter", "cc", "qa_contact") { |
243 |
foreach my $field ("assigned_to", "reporter", "cc", "qa_contact") { |
|
|
| 259 |
if (@clist) { |
251 |
if (@clist) { |
| 260 |
push(@specialchart, \@clist); |
252 |
push(@specialchart, \@clist); |
| 261 |
} |
253 |
} |
|
|
254 |
else { |
| 255 |
# No field is selected. Nothing to see here. |
| 256 |
next; |
| 257 |
} |
| 258 |
|
| 259 |
if ($type eq "anyexact") { |
| 260 |
foreach my $name (split(',', $email)) { |
| 261 |
$name = trim($name); |
| 262 |
login_to_id($name, THROW_ERROR) if $name; |
| 263 |
} |
| 264 |
} |
| 262 |
} |
265 |
} |
| 263 |
|
266 |
|
| 264 |
my $chfieldfrom = trim(lc($params->param('chfieldfrom'))) || ''; |
267 |
my $chfieldfrom = trim(lc($params->param('chfieldfrom'))) || ''; |