nextpage, prevpage were swapped in singlepost
This commit is contained in:
parent
946ec9db7d
commit
65f96ea1a9
@ -428,7 +428,7 @@
|
|||||||
function getNextPage() {
|
function getNextPage() {
|
||||||
|
|
||||||
if ($this->single){
|
if ($this->single){
|
||||||
$id = $this->_getOffsetId(-1, $this->params->start);
|
$id = $this->_getOffsetId(1, $this->params->start);
|
||||||
|
|
||||||
if ($id)
|
if ($id)
|
||||||
$label = $this->local_index[$id]['subject'];
|
$label = $this->local_index[$id]['subject'];
|
||||||
@ -451,7 +451,7 @@
|
|||||||
function getPrevPage() {
|
function getPrevPage() {
|
||||||
|
|
||||||
if ($this->single) {
|
if ($this->single) {
|
||||||
$id = $this->_getOffsetId(1, $this->params->start);
|
$id = $this->_getOffsetId(-1, $this->params->start);
|
||||||
|
|
||||||
if ($id)
|
if ($id)
|
||||||
$label = $this->local_index[$id]['subject'];
|
$label = $this->local_index[$id]['subject'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user