Merge branch 'ent-12747-Home-Screen-no-actualiza-en-nodo-cuando-mergeamos-nodo-y-meta-2' into 'develop'

fix home screen

See merge request artica/pandorafms!6850
This commit is contained in:
Rafael Ameijeiras 2024-01-18 11:13:04 +00:00
commit e7ee0ef6b8
2 changed files with 5 additions and 2 deletions

View File

@ -428,6 +428,11 @@ if ($create_user === true) {
$values['data_section'] = get_parameter('data_section');
}
if (is_metaconsole() === true) {
$values['metaconsole_section'] = $values['section'];
$values['metaconsole_data_section'] = $values['data_section'];
}
// $values['section'] = $homeScreenValues[$values['section']];
if (enterprise_installed() === true) {
$values['force_change_pass'] = 1;

View File

@ -816,8 +816,6 @@ function update_user(string $id_user, array $values)
$values['metaconsole_data_section'] = $values['data_section'];
$values['metaconsole_default_event_filter'] = $values['default_event_filter'];
unset($values['id_skin']);
unset($values['section']);
unset($values['data_section']);
unset($values['default_event_filter']);
}
}