aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_cats.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-12-07 00:10:22 +0000
committerrub <rub@piwigo.org>2006-12-07 00:10:22 +0000
commit04047f3716f27148b0957d54fd122e66e41c3412 (patch)
tree2a944636ec9d179e6fca9dea798805fa64ead6c2 /include/category_cats.inc.php
parentfddfd816a76e231ee02ec7fa58894e9e675f5021 (diff)
Icon is showed in the same way between recent categories and recent images.
git-svn-id: http://piwigo.org/svn/trunk@1638 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_cats.inc.php')
-rw-r--r--include/category_cats.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php
index 86e47cc09..d50347a44 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -148,14 +148,14 @@ if (count($categories) > 0)
if ($page['section']=='recent_cats')
{
$name = get_cat_display_name_cache($category['uppercats'], null, false);
- $icon_ts = '';
}
else
{
$name = $category['name'];
- $icon_ts = get_icon($category['max_date_last'], $category['is_child_date_last']);
}
+ $icon_ts = get_icon($category['max_date_last'], $category['is_child_date_last']);
+
$template->assign_block_vars(
'categories.category',
array(