Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions inc/itilsolution.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ public static function pdfForItem(PluginPdfSimplePDF $pdf, CommonDBTM $item)
} else {
$title = __('Solution');
}
$sol = Toolbox::stripTags(Glpi\Toolbox\Sanitizer::unsanitize(html_entity_decode(
$row['content'],
ENT_QUOTES,
'UTF-8',
)));
$sol = Glpi\Toolbox\Sanitizer::unsanitize(html_entity_decode($row['content'], ENT_QUOTES, "UTF-8"));

if ($row['status'] == 3) {
$text = __('Soluce approved on ', 'pdf');
Expand Down