Commit 874c0aa3 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

*** empty log message ***

parent dadd5b12
......@@ -238,7 +238,9 @@ sub scores_similar {
sub filter_sources {
my ( $self, $other_sources, $sources_done ) = @_;
unless ( scalar(@$other_sources) and scalar( keys %$sources_done ) ) {
unless ( scalar( @{$other_sources} )
and scalar( keys %{$sources_done} ) )
{
return $other_sources;
}
......@@ -255,7 +257,7 @@ sub filter_targets {
my ( $self, $other_targets, $targets_done ) = @_;
unless ( scalar( @{$other_targets} )
and scalar( keys %$targets_done ) )
and scalar( keys %{$targets_done} ) )
{
return $other_targets;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment