monitoring: Use View::nl2br() for acknowledgements in the detail area

refs #10603
This commit is contained in:
Eric Lippmann 2015-11-20 15:44:33 +01:00
parent e1433505b3
commit a874a2cb2e
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ $acknowledgement = $object->acknowledgement;
} ?>
</dt>
<dd>
<?= nl2br($this->createTicketLinks($this->escape($acknowledgement->getComment())), false) ?>
<?= $this->nl2br($this->createTicketLinks($this->escape($acknowledgement->getComment()))) ?>
</dd>
</dl>
<?php else: ?>
@ -85,7 +85,7 @@ $acknowledgement = $object->acknowledgement;
'Acknowledge this problem, suppress all future notifications for it and tag it as being handled'
)
)
); ?>
) ?>
<?php } else {
echo '&#45;';
} // endif ?>