aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-04-27 14:12:26 +0000
committerpatdenice <patdenice@piwigo.org>2011-04-27 14:12:26 +0000
commitd6b0308b093047b9e19be6feabc38d55d85c914a (patch)
treee29bc6735c7ba1966582497df679f53fca136dae
parent4b33371d0b3c37f235dbf776dd3b1ff33e315aa8 (diff)
feature:2259
Bug corrected if no photo displayed. git-svn-id: http://piwigo.org/svn/trunk@10637 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/batch_manager_global.tpl2
1 files changed, 1 insertions, 1 deletions
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}";