nextpage, prevpage were swapped in singlepost

This commit is contained in:
real_nowhereman 2008-03-05 09:59:49 +00:00
parent 946ec9db7d
commit 65f96ea1a9

View File

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