From 560bb77d227f140601d9be39b557c45b646cc0ab Mon Sep 17 00:00:00 2001 From: katagia Date: Fri, 12 Sep 2003 12:45:33 +0000 Subject: [PATCH] *** empty log message *** --- lam/templates/account/groupedit.php | 2 +- lam/templates/account/hostedit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/account/groupedit.php b/lam/templates/account/groupedit.php index b27a5294..4b7595e3 100644 --- a/lam/templates/account/groupedit.php +++ b/lam/templates/account/groupedit.php @@ -34,7 +34,7 @@ session_save_path('../../sess'); @session_start(); setlanguage(); if (isset($_GET['DN'])) { - if ($_GET['DN']!='') { + if (isset($_GET['DN']) && $_GET['DN']!='') { if (isset($_SESSION['account_old'])) unset($_SESSION['account_old']); $DN = str_replace("\'", '',$_GET['DN']); $_SESSION['account'] = loadgroup($DN); diff --git a/lam/templates/account/hostedit.php b/lam/templates/account/hostedit.php index 0bbe8913..280c9b2d 100644 --- a/lam/templates/account/hostedit.php +++ b/lam/templates/account/hostedit.php @@ -34,7 +34,7 @@ session_save_path('../../sess'); @session_start(); setlanguage(); if (isset($_GET['DN'])) { - if ($_GET['DN']!='') { + if (isset($_GET['DN']) && $_GET['DN']!='') { if (isset($_SESSION['account_old'])) unset($_SESSION['account_old']); $DN = str_replace("\'", '',$_GET['DN']); $_SESSION['account'] = loadhost($DN);