From: hickert Date: Fri, 15 Sep 2006 04:50:12 +0000 (+0000) Subject: Added white page fix - ( From trunk rev. 4375 ). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=538b9303e8ddb1b48654e14895fb1c1284ba8c22;p=gosa.git Added white page fix - ( From trunk rev. 4375 ). git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4669 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/main.inc b/plugins/personal/connectivity/main.inc index 644bd9839..cf8f5b115 100644 --- a/plugins/personal/connectivity/main.inc +++ b/plugins/personal/connectivity/main.inc @@ -41,7 +41,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)) != ""){ diff --git a/plugins/personal/environment/main.inc b/plugins/personal/environment/main.inc index 5fbd38c06..c3b6757ba 100644 --- a/plugins/personal/environment/main.inc +++ b/plugins/personal/environment/main.inc @@ -39,7 +39,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)) != ""){ diff --git a/plugins/personal/mail/main.inc b/plugins/personal/mail/main.inc index fc1e05286..f6a536703 100644 --- a/plugins/personal/mail/main.inc +++ b/plugins/personal/mail/main.inc @@ -39,7 +39,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)) != ""){ diff --git a/plugins/personal/netatalk/main.inc b/plugins/personal/netatalk/main.inc index b11774eab..1b2309f50 100644 --- a/plugins/personal/netatalk/main.inc +++ b/plugins/personal/netatalk/main.inc @@ -39,7 +39,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)) != "") { diff --git a/plugins/personal/posix/main.inc b/plugins/personal/posix/main.inc index 5438227d4..32bd2671d 100644 --- a/plugins/personal/posix/main.inc +++ b/plugins/personal/posix/main.inc @@ -44,7 +44,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)) != ""){ diff --git a/plugins/personal/samba/main.inc b/plugins/personal/samba/main.inc index 9e6602fd8..7d5094f34 100644 --- a/plugins/personal/samba/main.inc +++ b/plugins/personal/samba/main.inc @@ -40,7 +40,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)) != ""){