diff --git a/lam/templates/login.php b/lam/templates/login.php index b39ece45..a10a90ba 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -260,8 +260,8 @@ if($_POST['action'] == "checklogin") if($result == True) // Username/password correct. Do some configuration and load main frame. { $_SESSION['language'] = $_POST['language']; // Write selected language in session - $language = explode(":",$_SESSION['language']); - $_SESSION['header'] = "\n\n\n"; + $current_language = explode(":",$_SESSION['language']); + $_SESSION['header'] = "\n\n\n"; include("./main.php"); // Load main frame