webui: urldecode device notes #5110 (#5824)

This commit is contained in:
Neil Lathwood
2017-02-08 03:09:42 +00:00
committed by Tony Murray
parent 64a8a785ec
commit 6c8e049252

View File

@ -26,7 +26,7 @@ if (is_admin() === false) {
<hr>
<div class="form-group">
<div class="col-sm-12">
<textarea class="form-control" rows="6" name="notes" id="device-notes" <?php echo $disabled; ?>><?php echo htmlentities($data['notes']); ?></textarea>
<textarea class="form-control" rows="6" name="notes" id="device-notes" <?php echo $disabled; ?>><?php echo htmlentities(urldecode($data['notes'])); ?></textarea>
</div>
</div>
<div class="row">
@ -66,4 +66,4 @@ $("[name='btn-update-notes']").on('click', function(event) {
<?php
unset($disabled);
?>
?>