diff options
author | vdigital <vdigital@piwigo.org> | 2007-08-27 18:28:42 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2007-08-27 18:28:42 +0000 |
commit | 61f2646d4ef46469682a1c4715fd22d44c4bd743 (patch) | |
tree | 252156caabeeb861db043ecbed1f161c6e8ca5d2 | |
parent | 9d91210e41c0a83ec5af83bd5e254d14348086a6 (diff) |
0000735: Hits were displayed twice on Most visited
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2080 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/category_default.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index 3c1ed5a6c..fd6bd9684 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -129,7 +129,9 @@ foreach ($pictures as $row) } case 'most_visited' : { - $name = '('.$row['hit'].') '.$name; + if ( !$user['show_nb_hits']) { + $name = '('.$row['hit'].') '.$name; + } break; } case 'search' : |