From 408a1496ed176195f72c9f58d4793d77d699c317 Mon Sep 17 00:00:00 2001 From: Norman FELTZ <1359159+normanfeltz@users.noreply.github.com> Date: Thu, 5 Dec 2024 11:22:00 +0100 Subject: [PATCH] Fix copy paste fail ?! Replace $server by $peripheral --- app/Http/Controllers/Admin/ReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/ReportController.php b/app/Http/Controllers/Admin/ReportController.php index ca02f608..ab5ff1c0 100644 --- a/app/Http/Controllers/Admin/ReportController.php +++ b/app/Http/Controllers/Admin/ReportController.php @@ -1626,7 +1626,7 @@ public function networkInfrastructure(Request $request) } if ($item->peripheral_dest_id !== null) { $found = false; - foreach ($peripherals as $server) { + foreach ($peripherals as $peripheral) { if ($item->peripheral_dest_id === $peripheral->id) { $found = true; break;