aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r--inc/poche/Poche.class.php5
1 files changed, 0 insertions, 5 deletions
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
407 'page_links' => '', 407 'page_links' => '',
408 'nb_results' => '', 408 'nb_results' => '',
409 ); 409 );
410
411 # want to display a page too far?
412 if ((count($entries) % PAGINATION) + 1 < $_GET['p']) {
413 Tools::redirect('');
414 }
415 410
416 if (count($entries) > 0) { 411 if (count($entries) > 0) {
417 $this->pagination->set_total(count($entries)); 412 $this->pagination->set_total(count($entries));