From: hickert Date: Thu, 3 Aug 2006 08:41:03 +0000 (+0000) Subject: Fixed white page X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e07a0ba7fe2bb51e6f562a2c1c8233395fb0af3d;p=gosa.git Fixed white page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4375 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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.= "

";