aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_global.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/batch_manager_global.php')
-rw-r--r--admin/batch_manager_global.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php
index a7c1a3284..c2a9fdc53 100644
--- a/admin/batch_manager_global.php
+++ b/admin/batch_manager_global.php
@@ -758,10 +758,10 @@ SELECT id,path,representative_ext,file,filesize,level,name
$nb_thumbs_page++;
$src = DerivativeImage::thumb_url($row);
- $title = $row['name'];
- if (empty($title))
- {
- $title = get_name_from_file($row['file']);
+ $title = render_element_name($row);
+ if ($title != get_name_from_file($row['file']))
+ {
+ $title.= ' ('.$row['file'].')';
}
$template->append(