reopen #219 when archive last poched links from a page, redirect to an other page

This commit is contained in:
Nicolas Lœuillet 2013-10-03 15:43:24 +02:00
parent f0f7b94362
commit 47baa1077e
1 changed files with 0 additions and 5 deletions

View File

@ -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));