aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_unit.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/batch_manager_unit.php9
1 files changed, 1 insertions, 8 deletions
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
{