aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-11-04 10:13:00 +0000
committerplegall <plg@piwigo.org>2011-11-04 10:13:00 +0000
commit2c33148c60ca6be758edadb5d6c63d933904fdde (patch)
tree52da862548f8fee3b7a87b4de96b32b30de6c7ef /include/functions.inc.php
parentb58fea9f2c3b8c084dc90aef527d3e87b012df35 (diff)
merge r12540 from branch 2.3 to trunk
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
Diffstat (limited to '')
-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'));
}