From: Nicolas LÅ“uillet Date: Thu, 3 Oct 2013 13:43:24 +0000 (+0200) Subject: reopen #219 when archive last poched links from a page, redirect to an other page X-Git-Tag: 1.0.0~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=47baa1077e2923b8a87e458a6e826c2823ed3614;p=github%2Fwallabag%2Fwallabag.git reopen #219 when archive last poched links from a page, redirect to an other page --- diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 8f54267d..8fe7a4f5 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -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));