mirror of
https://github.com/moparisthebest/wallabag
synced 2025-02-17 07:30:09 -05:00
reopen #219 when archive last poched links from a page, redirect to an other page
This commit is contained in:
parent
f0f7b94362
commit
47baa1077e
@ -407,11 +407,6 @@ class Poche
|
|||||||
'page_links' => '',
|
'page_links' => '',
|
||||||
'nb_results' => '',
|
'nb_results' => '',
|
||||||
);
|
);
|
||||||
|
|
||||||
# want to display a page too far?
|
|
||||||
if ((count($entries) % PAGINATION) + 1 < $_GET['p']) {
|
|
||||||
Tools::redirect('');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (count($entries) > 0) {
|
if (count($entries) > 0) {
|
||||||
$this->pagination->set_total(count($entries));
|
$this->pagination->set_total(count($entries));
|
||||||
|
Loading…
Reference in New Issue
Block a user