From 679b407562db898f71d6cd75d1b5fcec4f999c21 Mon Sep 17 00:00:00 2001 From: frytimo Date: Tue, 18 Feb 2025 18:01:19 -0400 Subject: [PATCH] bug fix domain name when using devices showall (#7259) When the 'Show All' button is clicked the display of devices is using the current domain name instead of the domain name that belongs to the device --- app/devices/devices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/devices.php b/app/devices/devices.php index 23dda6fdb2..ec56e1a667 100644 --- a/app/devices/devices.php +++ b/app/devices/devices.php @@ -419,7 +419,7 @@ echo " \n"; } if (!empty($_GET['show']) && $_GET['show'] == "all" && permission_exists('device_all')) { - echo " ".escape($domain_name)."\n"; + echo " ".escape($row['domain_name'])."\n"; } echo " "; echo permission_exists('device_edit') ? "".escape(format_device_address($row['device_address']))."" : escape(format_device_address($row['device_address']));