Commit ec58d98f authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix key check

(cherry picked from commit debe657e)
parent 2d528a22
...@@ -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