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

View File

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