From aa2c25295ac7b4596ffccee7b4015e40c4f5dd2a Mon Sep 17 00:00:00 2001 From: duergner Date: Wed, 13 Aug 2003 19:18:56 +0000 Subject: [PATCH] Problem with changing profile fixed --- lam/templates/login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/login.php b/lam/templates/login.php index a10a90ba..3840ae7c 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -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