Changeset 22634
- Timestamp:
- May 13, 2013, 6:21:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/include/functions_html.inc.php
r22519 r22634 584 584 } 585 585 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 ? '...' : ''); 590 590 } 591 591
Note: See TracChangeset
for help on using the changeset viewer.