Fix show description of project

This commit is contained in:
Laurent Destailleur
2023-04-04 02:05:05 +02:00
parent 39fa93486d
commit 454372bb4e
4 changed files with 4 additions and 4 deletions

View File

@@ -403,7 +403,7 @@ if ($projectid > 0) {
// Description
print '<tr><td class="titlefield tdtop">'.$langs->trans("Description").'</td><td class="valuefield">';
print nl2br($project->description);
print dol_htmlentitiesbr($project->description);
print '</td></tr>';
// Categories

View File

@@ -340,7 +340,7 @@ print '<table class="border tableforfield centpercent">';
// Description
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
print nl2br($object->description);
print dol_htmlentitiesbr($object->description);
print '</td></tr>';
// Categories

View File

@@ -648,7 +648,7 @@ if ($id > 0 || !empty($ref)) {
// Description
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
print nl2br($object->description);
print dol_htmlentitiesbr($object->description);
print '</td></tr>';
// Categories

View File

@@ -1038,7 +1038,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
// Description
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
print nl2br($projectstatic->description);
print dol_htmlentitiesbr($projectstatic->description);
print '</td></tr>';
// Categories