]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
reopen #219 when archive last poched links from a page, redirect to an other page
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Thu, 3 Oct 2013 13:43:24 +0000 (15:43 +0200)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Thu, 3 Oct 2013 13:43:24 +0000 (15:43 +0200)
inc/poche/Poche.class.php

index 8f54267dfa1f9883cb660c045f43713085566c94..8fe7a4f53869dd98fc96601586fdbbde74f4f7f1 100644 (file)
@@ -407,11 +407,6 @@ class Poche
                     'page_links' => '',
                     'nb_results' => '',
                 );
-
-                # want to display a page too far?
-                if ((count($entries) % PAGINATION) + 1 < $_GET['p']) {
-                    Tools::redirect('');
-                }
                 
                 if (count($entries) > 0) {
                     $this->pagination->set_total(count($entries));