(legacy) fix key check

This commit is contained in:
Ad Schellevis 2016-01-26 09:44:41 +01:00
parent 1d7709a3aa
commit debe657eaf

View File

@ -200,7 +200,7 @@ function carp_sync_xml($url, $username, $password, $sections, $method = 'opnsens
// when syncing users, send last used uid/gid over
if (in_array('system.user', $sections)) {
if (!in_array('system', $transport_data)) {
if (!isset($transport_data['system'])) {
$transport_data['system'] = array();
}
$transport_data['system']['nextuid'] = $config['system']['nextuid'];