From 2854fd816cf53d3cf092967621ba81ee33916c81 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 30 Jun 2023 20:06:40 -0600 Subject: [PATCH] Provision file download work with address --- app/provision/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/provision/index.php b/app/provision/index.php index abeab28b9c..656a622f74 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -445,8 +445,8 @@ $device_address_formatted = $prov->format_address($device_address, $device_vendor); //replace the variable name with the value - $file_name = str_replace("{\$address}", $device_address_formatted, $file); - $file_name = str_replace("{\$mac}", $device_address_formatted, $file); + $file_name = str_replace("{\$address}", $device_address, $file); + $file_name = str_replace("{\$mac}", $device_address, $file_name); //set the headers header('Content-Description: File Transfer');