mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
security: Fix some reported security issues (#4807)
This commit is contained in:
@@ -66,6 +66,8 @@ function ifLabel($interface, $device = null)
|
||||
{
|
||||
global $config;
|
||||
|
||||
$interface['ifAlias'] = display($interface['ifAlias']);
|
||||
|
||||
if (!$device) {
|
||||
$device = device_by_id_cache($interface['device_id']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user