Update device_profile_edit.php

This commit is contained in:
Nate 2019-09-23 15:54:05 -06:00
parent b3ce182311
commit 1680f528d3
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@
}
//add an empty row
$x = count($device_profile_keys);
$x = is_array($device_profile_keys) ? count($device_profile_keys) : 0;
$device_profile_keys[$x]['domain_uuid'] = $domain_uuid;
$device_profile_keys[$x]['device_profile_uuid'] = $device_profile_uuid;
$device_profile_keys[$x]['device_profile_key_uuid'] = uuid();
@ -286,7 +286,7 @@
}
//add an empty row
$x = count($device_profile_settings);
$x = is_array($device_profile_settings) ? count($device_profile_settings) : 0;
$device_profile_settings[$x]['domain_uuid'] = $domain_uuid;
$device_profile_settings[$x]['device_profile_uuid'] = $device_profile_uuid;
$device_profile_settings[$x]['device_profile_setting_uuid'] = uuid();