Correct search terms function call.

This commit is contained in:
Bradley M. Kuhn 2018-09-22 17:28:45 -07:00
parent afb3bbc340
commit 77f47bb9e1

View file

@ -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);
} }
} }