Code

Added white fix - page (4375 must be applied to all MyAccount plugins too)
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Sep 2006 04:47:37 +0000 (04:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Sep 2006 04:47:37 +0000 (04:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4668 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/main.inc

index bebf8527c3d32023f9c41a6fc3fcb66a75baac37..4cc794f380a3ba18fc48fcbee9dd0d283d871a1c 100644 (file)
@@ -43,7 +43,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)) != ""){