From e72094543a1e07b676a415676a34ae94ec32052a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 21 Feb 2023 20:45:54 -0700 Subject: [PATCH] Add key to the name --- 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 31c5c93fbf..3ed5f3ac65 100644 --- a/app/devices/device_profile_edit.php +++ b/app/devices/device_profile_edit.php @@ -309,11 +309,11 @@ //add an empty row if (!is_array($device_profile_keys) || count($device_profile_keys) == 0) { - $rows = $_SESSION['devices']['profile_add_rows']['numeric']; + $rows = $_SESSION['devices']['profile_key_add_rows']['numeric']; $id = 0; } if (is_array($device_profile_keys) && count($device_profile_keys) > 0) { - $rows = $_SESSION['devices']['profile_edit_rows']['numeric']; + $rows = $_SESSION['devices']['profile_key_edit_rows']['numeric']; $id = count($device_profile_keys)+1; } for ($x = 0; $x < $rows; $x++) {