diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 18e1d0511..c6c91c4a6 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -315,7 +315,7 @@ class Poche } break; case 'archive_and_next' : - $nextid = $this->store->getNextArticle($id, $this->user->getId()); + $nextid = $this->store->getPreviousArticle($id, $this->user->getId()); $this->store->archiveById($id, $this->user->getId()); Tools::logm('archive link #' . $id); Tools::redirect('?view=view&id=' . $nextid); diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 12024cdc0..a57d1771b 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -12,7 +12,7 @@ {% if navigate.next %}