Merge pull request #3189 from khobbits/patch-2

Stop double escaping port notes
This commit is contained in:
Neil Lathwood
2016-03-08 14:32:14 +00:00
@@ -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';