Commit debe657e authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix key check

parent 1d7709a3
...@@ -200,7 +200,7 @@ function carp_sync_xml($url, $username, $password, $sections, $method = 'opnsens ...@@ -200,7 +200,7 @@ function carp_sync_xml($url, $username, $password, $sections, $method = 'opnsens
// when syncing users, send last used uid/gid over // when syncing users, send last used uid/gid over
if (in_array('system.user', $sections)) { if (in_array('system.user', $sections)) {
if (!in_array('system', $transport_data)) { if (!isset($transport_data['system'])) {
$transport_data['system'] = array(); $transport_data['system'] = array();
} }
$transport_data['system']['nextuid'] = $config['system']['nextuid']; $transport_data['system']['nextuid'] = $config['system']['nextuid'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment