diff options
author | rub <rub@piwigo.org> | 2007-02-27 23:24:53 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-27 23:24:53 +0000 |
commit | fec44b7f888783afeb99f256a07cfcef185d2110 (patch) | |
tree | 23e2f27985c0b64afbbebb9dc603907db23a0bf2 /include/category_default.inc.php | |
parent | dca9bd094a4231ba931abac2af33119f2079601d (diff) |
Missing one change flat_hint to mode_flat_hint
Review a little l10n_dec
git-svn-id: http://piwigo.org/svn/trunk@1864 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r-- | include/category_default.inc.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index 1d8438d93..19a8d7633 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -103,8 +103,7 @@ foreach ($pictures as $row) 'CLASS' => 'thumbElmt', ) ); - if ($user['show_nb_hits'] - and isset($page['category'])) + if ($user['show_nb_hits']) { $template->assign_block_vars( 'thumbnails.line.thumbnail.nb_hits', @@ -155,9 +154,7 @@ foreach ($pictures as $row) ); } - if ($user['show_nb_comments'] - and isset($page['category']) - and $page['category']['commentable']) + if ($user['show_nb_comments']) { $query = ' SELECT COUNT(*) AS nb_comments |