Permalink
Browse files

bug:2896

thx to Kaare
apply render_element_description inside get_thumbnail_title()

git-svn-id: http://piwigo.org/svn/trunk@22505 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
flop25 committed May 6, 2013
1 parent 2fb13e6 commit 2e1af1dd90b5401fefbf1ba3e04ad6bcd9381cce
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/functions_html.inc.php
@@ -585,6 +585,7 @@ function get_thumbnail_title($info, $title, $comment)
if (!empty($comment))
{
$info['comment'] = trigger_event('render_element_description', $info['comment']);
$title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : '');
}

0 comments on commit 2e1af1d

Please sign in to comment.