From d6b0308b093047b9e19be6feabc38d55d85c914a Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 27 Apr 2011 14:12:26 +0000 Subject: feature:2259 Bug corrected if no photo displayed. git-svn-id: http://piwigo.org/svn/trunk@10637 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/batch_manager_global.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index e0b85198d..abf4eb97e 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -29,7 +29,7 @@ var nb_thumbs_page = {$nb_thumbs_page}; var nb_thumbs_set = {$nb_thumbs_set}; var applyOnDetails_pattern = "{'on the %d selected photos'|@translate}"; var elements = new Array(); -var all_elements = [{','|@implode:$all_elements}]; +var all_elements = [{if !empty($all_elements)}{','|@implode:$all_elements}{/if}]; var selectedMessage_pattern = "{'%d of %d photos selected'|@translate}"; var selectedMessage_none = "{'No photo selected, %d photos in current set'|@translate}"; -- cgit v1.2.3