diff options
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' : |