diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-01-01 15:09:15 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-01-01 15:09:15 -0500 |
commit | 63cc5384bb4bd6a033ff85821b1bb904150d76c2 (patch) | |
tree | bf3e5a298f5a3bbd2827996e95179081ae3d9a89 /IkiWiki | |
parent | ddda9800d6bec39a86dd8f76d67a4972138ee394 (diff) | |
download | ikiwiki-63cc5384bb4bd6a033ff85821b1bb904150d76c2.tar ikiwiki-63cc5384bb4bd6a033ff85821b1bb904150d76c2.tar.gz |
inline: Fix bug that limited displayed pages when feedshow was specified w/o show.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 93dc0149e..17d1611db 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -209,7 +209,7 @@ sub preprocess_inline (@) { if ($params{show}) { $num=$params{show}; } - if ($params{feedshow} && $num < $params{feedshow}) { + if ($params{feedshow} && $num < $params{feedshow} && $num > 0) { $num=$params{feedshow}; } if ($params{skip} && $num) { |