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'];