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

git-svn-id: http://piwigo.org/svn/trunk@2081 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital
2007-08-27 19:08:54 +00:00
parent 5c13d6a8f1
commit b85685c752
+3 -1
View File
@@ -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' :