Add key to the name
This commit is contained in:
parent
99f88edcc3
commit
e72094543a
|
|
@ -309,11 +309,11 @@
|
||||||
|
|
||||||
//add an empty row
|
//add an empty row
|
||||||
if (!is_array($device_profile_keys) || count($device_profile_keys) == 0) {
|
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;
|
$id = 0;
|
||||||
}
|
}
|
||||||
if (is_array($device_profile_keys) && count($device_profile_keys) > 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;
|
$id = count($device_profile_keys)+1;
|
||||||
}
|
}
|
||||||
for ($x = 0; $x < $rows; $x++) {
|
for ($x = 0; $x < $rows; $x++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue