aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_recent_cats.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-06-27 00:37:18 +0000
committerrvelices <rv-github@modusoptimus.com>2006-06-27 00:37:18 +0000
commit547db379f60555207d55fbddcd4aeefc7e35930a (patch)
treeb60593ba51f17da25eb4bed4ef361c625708ca65 /include/category_recent_cats.inc.php
parentd43b8fd31498ab0c8f6f7b709c0ddc7f46a72283 (diff)
bug 436: Category thumbnail display not ok if subcatify is false
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1406 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_recent_cats.inc.php')
-rw-r--r--include/category_recent_cats.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/category_recent_cats.inc.php b/include/category_recent_cats.inc.php
index 2663bbcb3..f1d23ad77 100644
--- a/include/category_recent_cats.inc.php
+++ b/include/category_recent_cats.inc.php
@@ -110,6 +110,7 @@ if ($conf['subcatify'])
else
{
// template thumbnail initialization
+ $template->set_filenames( array( 'thumbnails' => 'thumbnails.tpl',));
if (mysql_num_rows($result) > 0)
{
$template->assign_block_vars('thumbnails', array());
@@ -156,5 +157,6 @@ else
}
}
$conf['level_separator'] = $old_level_separator;
+ $template->assign_var_from_handle('THUMBNAILS', 'thumbnails');
}
?> \ No newline at end of file