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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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