From caaeed3a4c43c6c0e40c884fec130b8c85e4614a Mon Sep 17 00:00:00 2001 From: katagia Date: Fri, 12 Sep 2003 12:44:30 +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 5467e3eb..b27a5294 100644 --- a/lam/templates/account/groupedit.php +++ b/lam/templates/account/groupedit.php @@ -54,7 +54,7 @@ if (isset($_GET['DN'])) { if (isset($val)) $_SESSION['account']->$key = $val; } } -if (count($_POST)==0) { +else if (count($_POST)==0) { // Startcondition. groupedit.php was called from outside $_SESSION['account'] = loadGroupProfile('default'); $_SESSION['account'] ->type = 'group'; if (isset($_SESSION['account_old'])) unset($_SESSION['account_old']); diff --git a/lam/templates/account/hostedit.php b/lam/templates/account/hostedit.php index aee8ff46..0bbe8913 100644 --- a/lam/templates/account/hostedit.php +++ b/lam/templates/account/hostedit.php @@ -49,7 +49,7 @@ if (isset($_GET['DN'])) { if (isset($_SESSION['account_old'])) unset($_SESSION['account_old']); } } -if (count($_POST)==0) { +else if (count($_POST)==0) { // Startcondition. groupedit.php was called from outside $_SESSION['account'] = loadHostProfile('default'); $_SESSION['account'] ->type = 'host'; if (isset($_SESSION['account_old'])) unset($_SESSION['account_old']);