From e031984e9d97b432d4caa6a12dd481440d43d589 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Tue, 30 Aug 2011 14:51:03 +0000 Subject: [PATCH] 2011-08-30 Juan Manuel Ramon * godmode/users/configure_user.php: Reload page to update skin. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/godmode/users/configure_user.php | 4 ++++ 2 files changed, 8 insertions(+) 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', '');