mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix code (#5586)
This commit is contained in:
@@ -253,7 +253,8 @@ function getIconTag($device)
|
||||
return '<img src="' . getIcon($device) . '" title="' . getImageTitle($device) . '"/>';
|
||||
}
|
||||
|
||||
function getImageTitle($device) {
|
||||
function getImageTitle($device)
|
||||
{
|
||||
return $device['icon'] ? str_replace(array('.svg', '.png'), '', $device['icon']) : $device['os'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user