1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

mark read and go to next now in the right direction

This commit is contained in:
Thomas Citharel 2015-03-08 00:22:47 +01:00
parent e139258bb1
commit 8a66458ba2
2 changed files with 2 additions and 2 deletions

View file

@ -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);