Skip to content

Commit

Permalink
merge r12540 from branch 2.3 to trunk
Browse files Browse the repository at this point in the history
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/trunk@12541 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Nov 4, 2011
1 parent b58fea9 commit 2c33148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.inc.php
Expand Up @@ -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'));
}
Expand Down

0 comments on commit 2c33148

Please sign in to comment.