aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-03-08 00:22:47 +0100
committerThomas Citharel <tcit@tcit.fr>2015-03-08 00:22:47 +0100
commit8a66458ba267f01f3525cd635c912574861926fe (patch)
treecf97db46bfb415a8446e1dbee74f4c80244e422a /inc/poche/Poche.class.php
parente139258bb1039175827c8debce6101ff0c9a5b86 (diff)
downloadwallabag-8a66458ba267f01f3525cd635c912574861926fe.tar.gz
wallabag-8a66458ba267f01f3525cd635c912574861926fe.tar.zst
wallabag-8a66458ba267f01f3525cd635c912574861926fe.zip
mark read and go to next now in the right direction
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php2
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);