From 423bcd8aa83e016f6dc2dd5ad5b206fab4abd047 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 4 Apr 2023 10:59:24 -0600 Subject: [PATCH] Rename name to type --- app/devices/device_profile_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/devices/device_profile_edit.php b/app/devices/device_profile_edit.php index 0160099176..0243fab1b3 100644 --- a/app/devices/device_profile_edit.php +++ b/app/devices/device_profile_edit.php @@ -310,7 +310,7 @@ $sql .= "where v.device_vendor_uuid = f.device_vendor_uuid "; $sql .= "and v.enabled = 'true' "; $sql .= "and f.enabled = 'true' "; - $sql .= "order by v.name asc, f.name asc "; + $sql .= "order by v.name asc, f.type asc "; $database = new database; $vendor_functions = $database->select($sql, null, 'all'); unset($sql); @@ -337,7 +337,7 @@ $device_profile_keys[$id]['profile_key_id'] = ''; $device_profile_keys[$id]['profile_key_vendor'] = ''; $device_profile_keys[$id]['profile_key_type'] = ''; - $device_profile_keys[$id]['profile_key_subtype'] = ''; + $device_profile_keys[$id]['profile_key_subtype'] = ''; $device_profile_keys[$id]['profile_key_line'] = ''; $device_profile_keys[$id]['profile_key_value'] = ''; $device_profile_keys[$id]['profile_key_extension'] = '';