bug 2492 fixed: no need to transmit ['hit'] to get_thumbnail_title, this parameter becomes optional to avoid errors in plugins

git-svn-id: http://piwigo.org/svn/branches/2.3@12540 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2011-11-04 10:12:01 +00:00
parent 60dd33f030
commit a9d3ee0e4d

View file

@ -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'));
}