Correct search terms function call.
This commit is contained in:
parent
afb3bbc340
commit
77f47bb9e1
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ while (my $file = readdir $dh) {
|
||||||
my $ticket = Outreachy_FindUniqueTicket($ROUND, @searchTerms);
|
my $ticket = Outreachy_FindUniqueTicket($ROUND, @searchTerms);
|
||||||
if (not defined $ticket) {
|
if (not defined $ticket) {
|
||||||
foreach my $term (@searchTerms) {
|
foreach my $term (@searchTerms) {
|
||||||
$ticket = Outreachy_FindUniqueTicket(($term));
|
print STDERR "\"$file\": full search failed, trying \"$term\" by itself\n" if ($VERBOSE > 6);
|
||||||
|
$ticket = Outreachy_FindUniqueTicket($ROUND, ($term));
|
||||||
last if (defined $ticket);
|
last if (defined $ticket);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue