aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 7873674ec..e69d5ced6 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -798,7 +798,7 @@ function get_thumbnail_title($info)
$details = array();
- if ($info['hit'] != 0)
+ if (!empty($info['hit']))
{
$details[] = $info['hit'].' '.strtolower(l10n('Visits'));
}