diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e5a27baa24..7816d180c8 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-08-30 Juan Manuel Ramon + + * godmode/users/configure_user.php: Reload page to update skin. + 2011-08-30 Miguel de Dios * include/functions_graph.php, include/graphs/functions_fsgraph.php, diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php index 97839ebff7..ffade5371c 100644 --- a/pandora_console/godmode/users/configure_user.php +++ b/pandora_console/godmode/users/configure_user.php @@ -74,6 +74,7 @@ $add_profile = (bool) get_parameter ('add_profile'); $delete_profile = (bool) get_parameter ('delete_profile'); $update_user = (bool) get_parameter ('update_user'); + if ($new_user && $config['admin_can_add_user']) { $user_info = array (); $id = ''; @@ -200,6 +201,9 @@ if ($update_user) { $values['flash_chart'] = get_parameter ('flash_charts', $config["flash_charts"]); $res1 = update_user ($id, $values); + + // Reload page to update skin + header ('location:' . $config['homeurl'] . '/index.php?sec=gusuarios&sec2=godmode/users/configure_user&id=' . $id); if ($config['user_can_update_password']) { $password_new = (string) get_parameter ('password_new', '');