From c16eeb1f2e0dbe4b2a5127c0b1d6942bab4b08b0 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 1 Jul 2011 21:14:04 +0000 Subject: feature:2330 ability to hide the "new" icon for recent photos correct a big mistake in var name git-svn-id: http://piwigo.org/svn/trunk@11591 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_cats.inc.php | 2 +- include/category_default.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php index 47ae8fda8..f445afa38 100644 --- a/include/category_cats.inc.php +++ b/include/category_cats.inc.php @@ -329,7 +329,7 @@ if (count($categories) > 0) ); if ($conf['index_new_icon']) { - $row['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); + $tpl_var['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); } if ($conf['display_fromto']) diff --git a/include/category_default.inc.php b/include/category_default.inc.php index 66c89f889..bbc63fe21 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -128,7 +128,7 @@ foreach ($pictures as $row) ); if ($conf['index_new_icon']) { - $row['icon_ts'] = get_icon($row['date_available']); + $tpl_var['icon_ts'] = get_icon($row['date_available']); } if ($user['show_nb_hits']) -- cgit v1.2.3