From 65f96ea1a9461a8485b1e2a799791a5f16cec61d Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Wed, 5 Mar 2008 09:59:49 +0000 Subject: [PATCH] nextpage, prevpage were swapped in singlepost --- fp-includes/core/core.fpdb.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-includes/core/core.fpdb.class.php b/fp-includes/core/core.fpdb.class.php index 3d1b5fd..16a4878 100644 --- a/fp-includes/core/core.fpdb.class.php +++ b/fp-includes/core/core.fpdb.class.php @@ -428,7 +428,7 @@ function getNextPage() { if ($this->single){ - $id = $this->_getOffsetId(-1, $this->params->start); + $id = $this->_getOffsetId(1, $this->params->start); if ($id) $label = $this->local_index[$id]['subject']; @@ -451,7 +451,7 @@ function getPrevPage() { if ($this->single) { - $id = $this->_getOffsetId(1, $this->params->start); + $id = $this->_getOffsetId(-1, $this->params->start); if ($id) $label = $this->local_index[$id]['subject'];