master
joey 2007-04-08 01:03:42 +00:00
parent 4843d460e7
commit c490ad5ad8
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ sub backlinks ($) { #{{{
}
@links = sort { $a->{page} cmp $b->{page} } @links;
return \@links, [] if @links <= $config{numbacklinks} && ! $config{numbacklinks};
return \@links, [] if @links <= $config{numbacklinks} || ! $config{numbacklinks};
return [@links[0..$config{numbacklinks}-1]],
[@links[$config{numbacklinks}..$#links]];
} #}}}