Problem with changing profile fixed

This commit is contained in:
duergner 2003-08-13 19:18:56 +00:00
parent 78eb6b0d4b
commit aa2c25295a
1 changed files with 2 additions and 2 deletions

View File

@ -283,9 +283,9 @@ if($_POST['action'] == "checklogin")
}
// Reload loginpage after a profile change
elseif($_POST['action'] == "profileChange") {
$config = new Config($_POST['profile']); // Recreate the config object with the submited profile
$_SESSION['config'] = new Config($_POST['profile']); // Recreate the config object with the submited
display_LoginPage($config,""); // Load login page
display_LoginPage($_SESSION['config'],""); // Load login page
}
// Load login page
else