aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-01-01 15:09:15 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-01-01 15:09:15 -0500
commit63cc5384bb4bd6a033ff85821b1bb904150d76c2 (patch)
treebf3e5a298f5a3bbd2827996e95179081ae3d9a89 /IkiWiki/Plugin/inline.pm
parentddda9800d6bec39a86dd8f76d67a4972138ee394 (diff)
downloadikiwiki-63cc5384bb4bd6a033ff85821b1bb904150d76c2.tar
ikiwiki-63cc5384bb4bd6a033ff85821b1bb904150d76c2.tar.gz
inline: Fix bug that limited displayed pages when feedshow was specified w/o show.
Diffstat (limited to 'IkiWiki/Plugin/inline.pm')
-rw-r--r--IkiWiki/Plugin/inline.pm2
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) {