From 2967d4d11b2a3b06c0d9f78b6129fefad59d188b Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 8 Oct 2011 20:01:20 +0000 Subject: moved up one line of code added in 2.3 (plugin compatibility) git-svn-id: http://piwigo.org/svn/trunk@12391 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_default.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/category_default.inc.php') diff --git a/include/category_default.inc.php b/include/category_default.inc.php index ef04324f7..256591db4 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -170,9 +170,10 @@ foreach ($pictures as $row) $tpl_thumbnails_var[] = $tpl_var; } +$template->assign('SHOW_THUMBNAIL_CAPTION', $conf['show_thumbnail_caption']); $tpl_thumbnails_var = trigger_event('loc_end_index_thumbnails', $tpl_thumbnails_var, $pictures); $template->assign('thumbnails', $tpl_thumbnails_var); -$template->assign('SHOW_THUMBNAIL_CAPTION', $conf['show_thumbnail_caption']); + $template->assign_var_from_handle('THUMBNAILS', 'index_thumbnails'); pwg_debug('end include/category_default.inc.php'); -- cgit v1.2.3