mirror of
https://github.com/librenms/librenms.git
synced 2024-09-25 12:27:16 +00:00
fix device overlib with odd chars
git-svn-id: http://www.observium.org/svn/observer/trunk@1631 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
parent
c3eae27d25
commit
cb99f420bd
@ -46,9 +46,9 @@ function generate_device_link($device, $text=0, $start=0, $end=0)
|
||||
|
||||
|
||||
$contents .= "<div>";
|
||||
if($device['os']) { $contents .= $config['os'][$device['os']]['text']; }
|
||||
if($device['version']) { $contents .= " ".$device['version']; }
|
||||
if($device['features']) { $contents .= " (".$device['features'].")"; }
|
||||
if($device['os']) { $contents .= htmlentities($config['os'][$device['os']]['text']); }
|
||||
if($device['version']) { $contents .= " ".htmlentities($device['version']); }
|
||||
if($device['features']) { $contents .= " (".htmlentities($device['features']).")"; }
|
||||
# if($device['hardware']) { $contents .= " - ".$device['hardware']; }
|
||||
$contents .= "</div>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user