Stop double escaping port notes

This commit is contained in:
Robert (KHobbits)
2016-03-08 12:14:27 +00:00
parent fdd9ab0a05
commit 6e4eb4cf43

View File

@@ -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';