From 27e5977d85333d69ca43621d8b74b1652762348a Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 1 Sep 2014 08:35:09 +0000 Subject: bug 3074: no more than 50 photos per page on Batch Manager, unit mode (better fix expected with feature 3106) git-svn-id: http://piwigo.org/svn/trunk@29349 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager_unit.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'admin/batch_manager_unit.php') diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php index f121126dd..bed0cdc1c 100644 --- a/admin/batch_manager_unit.php +++ b/admin/batch_manager_unit.php @@ -133,14 +133,7 @@ $template->assign( // how many items to display on this page if (!empty($_GET['display'])) { - if ('all' == $_GET['display']) - { - $page['nb_images'] = count($page['cat_elements_id']); - } - else - { - $page['nb_images'] = intval($_GET['display']); - } + $page['nb_images'] = intval($_GET['display']); } else { -- cgit v1.2.3