From de21bea9415a7fad49d092141ba5ef509dea131d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 23 Oct 2016 10:58:51 -0600 Subject: [PATCH] Update device_profile_copy.php --- app/devices/device_profile_copy.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/devices/device_profile_copy.php b/app/devices/device_profile_copy.php index 67ecb0d713..7de752d590 100644 --- a/app/devices/device_profile_copy.php +++ b/app/devices/device_profile_copy.php @@ -84,7 +84,7 @@ unset($device_profiles[0]["device_profile_uuid"]); //add copy to the device description - $device_profiles[0]["device_profile_name"] = $device_profiles[0]["device_profile_name"]."-".strtolower($text['button-copy']); + //$device_profiles[0]["device_profile_name"] = $device_profiles[0]["device_profile_name"]."-".strtolower($text['button-copy']); $device_profiles[0]["device_profile_description"] = $text['button-copy']." ".$device_profiles[0]["device_profile_description"]; //prepare the device_keys array @@ -104,8 +104,8 @@ //} //create the device array - $array["device_profile"][0] = $device_profiles; - $array["device_profile"][0]["device_keys"] = $device_keys; + $array["device_profiles"] = $device_profiles; + $array["device_profiles"][0]["device_keys"] = $device_keys; //$array["device_settings"][0] = $device_settings; //copy the device