From 47baa1077e2923b8a87e458a6e826c2823ed3614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 3 Oct 2013 15:43:24 +0200 Subject: [PATCH] reopen #219 when archive last poched links from a page, redirect to an other page --- inc/poche/Poche.class.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 8f54267..8fe7a4f 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));