From 6e4eb4cf43357f3a94b6b189ff7a487a909a5421 Mon Sep 17 00:00:00 2001 From: "Robert (KHobbits)" Date: Tue, 8 Mar 2016 12:14:27 +0000 Subject: [PATCH] Stop double escaping port notes --- html/includes/forms/update-port-notes.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/forms/update-port-notes.inc.php b/html/includes/forms/update-port-notes.inc.php index 9678cab64..03ca70875 100644 --- a/html/includes/forms/update-port-notes.inc.php +++ b/html/includes/forms/update-port-notes.inc.php @@ -15,7 +15,7 @@ $message = 'unknown error'; $device_id = mres($_POST['device_id']); $port_id_notes = mres($_POST['port_id_notes']); -$attrib_value = mres($_POST['notes']); +$attrib_value = $_POST['notes']; if (isset($attrib_value) && set_dev_attrib(array('device_id' => $device_id), $port_id_notes, $attrib_value)) { $status = 'ok';