mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Stop double escaping port notes
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user