From 369617ffa1fd4e96a31d9a4830326e98b850ec33 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Mon, 14 Mar 2022 23:38:59 +0000 Subject: [PATCH] Fixed displaying hostname in create bill when port is passed (#13830) --- includes/html/modal/new_bill.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/html/modal/new_bill.inc.php b/includes/html/modal/new_bill.inc.php index 7fdc34fe0a..159d726438 100644 --- a/includes/html/modal/new_bill.inc.php +++ b/includes/html/modal/new_bill.inc.php @@ -23,6 +23,7 @@ if (Auth::user()->hasGlobalAdmin()) { $bill_data['bill_ref'] = $port['port_descr_circuit']; $bill_data['bill_notes'] = $port['port_descr_speed']; $port_device_id = $port['device_id']; + $device['hostname'] = $port['hostname']; } ?>