Permalink
Browse files

0000735: Hits were displayed twice on Most visited (manual merge)

git-svn-id: http://piwigo.org/svn/trunk@2081 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
1 parent 5c13d6a commit b85685c752f1dcd632919530c634432d2cdcf2e1 vdigital committed Aug 27, 2007
Showing with 3 additions and 1 deletion.
  1. +3 −1 include/category_default.inc.php
@@ -129,7 +129,9 @@
}
case 'most_visited' :
{
- $name = '('.$row['hit'].') '.$name;
+ if ( !$user['show_nb_hits']) {
+ $name = '('.$row['hit'].') '.$name;
+ }
break;
}
case 'search' :

0 comments on commit b85685c

Please sign in to comment.