diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-08 01:03:42 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-08 01:03:42 +0000 |
commit | c490ad5ad81c01f2b7233496a407b845d4a35185 (patch) | |
tree | c214dafa0bd05d96eb0a75daa5b2e0d865825e29 /IkiWiki | |
parent | 4843d460e752968f8643f0bfe76dd904ca52cbae (diff) |
oops
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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]]; } #}}} |