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