From c490ad5ad81c01f2b7233496a407b845d4a35185 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 8 Apr 2007 01:03:42 +0000 Subject: [PATCH] oops --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 600318e68..e77379a65 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -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]]; } #}}}