Add key to the name

This commit is contained in:
FusionPBX
2023-02-21 20:45:54 -07:00
committed by GitHub
parent 99f88edcc3
commit e72094543a

View File

@@ -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++) {