mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Revert "bug - Fix API bug causing note updates to fail" (#15767)
This commit is contained in:
@@ -291,7 +291,7 @@ function zeropad($num, $length = 2)
|
||||
|
||||
function set_dev_attrib($device, $attrib_type, $attrib_value)
|
||||
{
|
||||
return DeviceCache::get((int) $device)->setAttrib($attrib_type, $attrib_value);
|
||||
return DeviceCache::get((int) $device['device_id'])->setAttrib($attrib_type, $attrib_value);
|
||||
}
|
||||
|
||||
function get_dev_attribs($device_id)
|
||||
|
Reference in New Issue
Block a user