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
This commit is contained in:
parent
9d91210e41
commit
61f2646d4e
1 changed files with 3 additions and 1 deletions
|
@ -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' :
|
||||
|
|
Loading…
Reference in a new issue