Changeset 22634


Ignore:
Timestamp:
05/13/13 18:21:41 (6 years ago)
Author:
flop25
Message:

merge svn:22520 from trunk to 2.5
bug:2896
thumbnail title fix (use $comment parameter + no double htmlspecialchars)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/include/functions_html.inc.php

    r22519 r22634  
    584584  } 
    585585 
    586   if (!empty($info['comment'])) 
    587   { 
    588     $info['comment'] = htmlspecialchars(strip_tags(trigger_event('render_element_description', $info['comment']))); 
    589     $title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : ''); 
     586  if (!empty($comment)) 
     587  { 
     588    $comment = strip_tags($comment); 
     589    $title.= ' '.substr($comment, 0, 100).(strlen($comment) > 100 ? '...' : ''); 
    590590  } 
    591591 
Note: See TracChangeset for help on using the changeset viewer.