From fc71fd1eb7382a3dafc708318da9fa106a49c7a6 Mon Sep 17 00:00:00 2001 From: tsia Date: Thu, 8 Feb 2024 11:07:37 +0100 Subject: [PATCH] fix custom fields for similar addresses --- app/subnets/addresses/print-address-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/subnets/addresses/print-address-table.php b/app/subnets/addresses/print-address-table.php index b56ddc764..5ba981198 100644 --- a/app/subnets/addresses/print-address-table.php +++ b/app/subnets/addresses/print-address-table.php @@ -632,7 +632,7 @@ function unset_array_value(&$array, $value) { foreach($custom_fields as $myField) { if(!in_array($myField['name'], $hidden_cfields)) { print ""; - $Tools->print_custom_field ($myField['type'], $addresses[$n]->{$myField['name']}); + $Tools->print_custom_field ($myField['type'], $s->{$myField['name']}); print ""; } }