FIX: holiday monthly report: html entity codes showing in description with WYSIWYG activated

This commit is contained in:
Marc de Lima Lucio 2022-03-16 09:47:57 +01:00
parent 9514062868
commit 8a8462bf57

View File

@ -358,7 +358,10 @@ else {
}
if (!empty($arrayfields['used_days_month']['checked'])) print '<td class="right">'.num_open_day($date_start_inmonth, $date_end_inmonth, 0, 1, $halfdayinmonth).'</td>';
if (!empty($arrayfields['cp.description']['checked'])) print '<td class="maxwidth300">'.dol_escape_htmltag(dolGetFirstLineOfText($obj->description)).'</td>';
if (!empty($arrayfields['cp.description']['checked'])) {
print '<td class="maxwidth300">'.dolGetFirstLineOfText($obj->description).'</td>';
}
print '<td></td>';
print '</tr>';