From 976c5ae17ee6ffd5ec0873605363d4b620f39c62 Mon Sep 17 00:00:00 2001 From: Alexandre <146840804+alex001x@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:27:26 +0200 Subject: [PATCH] Update report_network_map.php fixe issu --- report_network_map.php | 1 + 1 file changed, 1 insertion(+) diff --git a/report_network_map.php b/report_network_map.php index 8d969366d..34efffc5d 100644 --- a/report_network_map.php +++ b/report_network_map.php @@ -288,6 +288,7 @@ $color = $safeDeviceColors[array_rand($safeDeviceColors)]; } + $baseURI = rtrim($config->ParameterArray["InstallURL"], '/') . '/'; // control if InstallURL with "/" $graphstr .= "\t".$tkeypair[0]." [shape=Mrecord,URL=\"".$baseURI .'devices.php?DeviceID='.$tkeypair[0]."\",label=\"" .$devList[$dt][$tkeypair[0]]."\",color=".$color."];\n";