diff --git a/lam/templates/account/edit.php b/lam/templates/account/edit.php index 4a2f0abc..4316b486 100644 --- a/lam/templates/account/edit.php +++ b/lam/templates/account/edit.php @@ -55,7 +55,7 @@ if (!isset($_SESSION['loggedIn'])) { setlanguage(); //load account -if ($_GET['DN']) { +if (isset($_GET['DN'])) { $DN = str_replace("\'", '', $_GET['DN']); $type = str_replace("\'", '', $_GET['type']); if ($_GET['type'] == $type) $type = str_replace("'", '',$_GET['type']); diff --git a/lam/templates/login.php b/lam/templates/login.php index 499b98fb..c5dc9a9b 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -286,7 +286,7 @@ function display_LoginPage($config_object) {