projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4843d46
)
oops
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 8 Apr 2007 01:03:42 +0000
(
01:03
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 8 Apr 2007 01:03:42 +0000
(
01:03
+0000)
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 600318e687498c4c98889e698e36481b74c53164..e77379a65e528114d49381c9d8c2e1286bc1e59e 100644
(file)
--- 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]];
} #}}}