From e07a0ba7fe2bb51e6f562a2c1c8233395fb0af3d Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 3 Aug 2006 08:41:03 +0000 Subject: [PATCH] Fixed white page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4375 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/main.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/personal/generic/main.inc b/plugins/personal/generic/main.inc index 5ad7640e2..6e199258e 100644 --- a/plugins/personal/generic/main.inc +++ b/plugins/personal/generic/main.inc @@ -45,7 +45,7 @@ if (!$remove_lock){ } /* Enter edit mode? */ - if (isset($_POST['edit'])){ + if ((isset($_POST['edit'])) && (!isset( $_SESSION['edit']))){ /* Check locking */ if (($username= get_lock($ui->dn)) != ""){ @@ -139,6 +139,7 @@ if (!$remove_lock){ } $info = ""; + /* Show page footer depending on the mode */ if (!$user->cert_dialog && !$user->picture_dialog && $user->is_account){ $display.= "

"; -- 2.30.2