aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-10-08 20:01:20 +0000
committerrvelices <rv-github@modusoptimus.com>2011-10-08 20:01:20 +0000
commit2967d4d11b2a3b06c0d9f78b6129fefad59d188b (patch)
tree3bd505f06c21795e267567d60ab5ae50d4afc683
parentf8b0a29eb9262dddad3ba86fd07a2c408567bf5f (diff)
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
-rw-r--r--include/category_default.inc.php3
1 files changed, 2 insertions, 1 deletions
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');