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
This commit is contained in:
rvelices
2006-06-27 00:37:18 +00:00
parent d43b8fd314
commit 547db379f6
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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');
}
?>