mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
urlencode custom_descr
This commit is contained in:
@ -275,7 +275,7 @@ if ($_SESSION['userlevel'] >= '5') {
|
|||||||
}
|
}
|
||||||
foreach ($config['custom_descr'] as $custom_type) {
|
foreach ($config['custom_descr'] as $custom_type) {
|
||||||
if (!empty($custom_type)) {
|
if (!empty($custom_type)) {
|
||||||
echo ' <li><a href="iftype/type=' . strtolower($custom_type) . '"><i class="fa fa-connectdevelop fa-fw fa-lg"></i> ' . ucfirst($custom_type) . '</a></li>';
|
echo ' <li><a href="iftype/type=' . urlencode(strtolower($custom_type)) . '"><i class="fa fa-connectdevelop fa-fw fa-lg"></i> ' . ucfirst($custom_type) . '</a></li>';
|
||||||
$ifbreak = 1;
|
$ifbreak = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user