mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Finished device storage page edit
This commit is contained in:
@@ -29,7 +29,7 @@ elseif (!is_numeric($data)) {
|
||||
$message = 'Missing value';
|
||||
}
|
||||
else {
|
||||
if (dbUpdate(array('storage_perc_warn'=>$data), 'storage', '`storage_id`=? AND `device_id`=?',array($storage_id,$device))) {
|
||||
if (dbUpdate(array('storage_perc_warn'=>$data), 'storage', '`storage_id`=? AND `device_id`=?',array($storage_id,$device_id))) {
|
||||
$message = 'Storage information updated';
|
||||
$status = 'ok';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user