mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Scrut fix
This commit is contained in:
@@ -436,6 +436,7 @@ function get_dev_entity_state($device) {
|
||||
}
|
||||
|
||||
function get_dev_attrib($device, $attrib_type, $attrib_value='') {
|
||||
$sql = '';
|
||||
$params = array($device['device_id'], $attrib_type);
|
||||
if (!empty($attrib_value)) {
|
||||
$sql = " AND `attrib_value`=?";
|
||||
|
||||
Reference in New Issue
Block a user