diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-24 12:13:29 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-24 12:13:29 +0200 |
commit | b2a412b0811b6d7fc402255e208b043ea95b79de (patch) | |
tree | 15807cddecc6d54b3d88a32921d6ef6623dca947 | |
parent | 07cb64f88c84906883a0caf367f606a7b52fad6c (diff) | |
download | rpg-b2a412b0811b6d7fc402255e208b043ea95b79de.tar.gz rpg-b2a412b0811b6d7fc402255e208b043ea95b79de.tar.bz2 |
fix for reversed RSS feeds #918
darcs-hash:20060924101329-7ad00-acff05b813c58ac7ddb98385c9970800af7aca6b.gz
-rw-r--r-- | inc/parser/xhtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index d896d8eab..c805dae70 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -794,7 +794,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $mod = -1; $start = $feed->get_item_quantity()-1; $end = $start - ($params['max']); - $end = ($end < 0) ? 0 : $end; + $end = ($end < -1) ? -1 : $end; }else{ $mod = 1; $start = 0; |