aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 15:43:24 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 15:43:24 +0200
commit47baa1077e2923b8a87e458a6e826c2823ed3614 (patch)
tree71cfa1d50b458815f72eed52d79fb32242bf3007 /inc
parentf0f7b943622a18ac7c883b077e59d1d84ef90327 (diff)
downloadwallabag-47baa1077e2923b8a87e458a6e826c2823ed3614.tar.gz
wallabag-47baa1077e2923b8a87e458a6e826c2823ed3614.tar.zst
wallabag-47baa1077e2923b8a87e458a6e826c2823ed3614.zip
reopen #219 when archive last poched links from a page, redirect to an other page
Diffstat (limited to 'inc')
-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));