diff options
Diffstat (limited to 'inc/poche')
-rwxr-xr-x | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 18e1d051..c6c91c4a 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -315,7 +315,7 @@ class Poche | |||
315 | } | 315 | } |
316 | break; | 316 | break; |
317 | case 'archive_and_next' : | 317 | case 'archive_and_next' : |
318 | $nextid = $this->store->getNextArticle($id, $this->user->getId()); | 318 | $nextid = $this->store->getPreviousArticle($id, $this->user->getId()); |
319 | $this->store->archiveById($id, $this->user->getId()); | 319 | $this->store->archiveById($id, $this->user->getId()); |
320 | Tools::logm('archive link #' . $id); | 320 | Tools::logm('archive link #' . $id); |
321 | Tools::redirect('?view=view&id=' . $nextid); | 321 | Tools::redirect('?view=view&id=' . $nextid); |