From c321d4e4b2e68f7741b76d5f6ffce1963d265e6a Mon Sep 17 00:00:00 2001 From: Robert Gornall Date: Thu, 3 Mar 2016 18:38:24 +0000 Subject: [PATCH] Stop double escaping the notes post variable --- html/includes/forms/update-notes.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/forms/update-notes.inc.php b/html/includes/forms/update-notes.inc.php index 4848add6bd..3750e59d91 100644 --- a/html/includes/forms/update-notes.inc.php +++ b/html/includes/forms/update-notes.inc.php @@ -14,7 +14,7 @@ $status = 'error'; $message = 'unknown error'; $device_id = mres($_POST['device_id']); -$notes = mres($_POST['notes']); +$notes = $_POST['notes']; if (isset($notes) && (dbUpdate(array('notes' => $notes), 'devices', 'device_id = ?', array($device_id)))) { $status = 'ok';