summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd9b775)
raw | patch | inline | side by side (parent: cd9b775)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 04:55:38 +0000 (04:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 04:55:38 +0000 (04:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2776 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index 172ae9bf2759248c64157ebb54af363ee668972e..c622ffbd27b65e9f6f0d72b849599c6840595c07 100644 (file)
if (($_SERVER["REQUEST_METHOD"] == "POST")||($_SERVER["REQUEST_METHOD"]== "GET")){
/* User wants to edit data? */
- if ($s_action=="edit"){
+
+ /* Check for config to ensure that there is currently no user open */
+ if (($s_action=="edit") && (!isset($this->usertab->config))){
/* Get 'dn' from posted 'uid', must be unique */
/* Finish user edit is triggered by the tabulator dialog, so
the user wants to save edited data. Check and save at this
point. */
- if (isset($_POST['edit_finish'])){
+ if ((isset($_POST['edit_finish'])) && (isset($this->usertab->config))){
/* Check tabs, will feed message array */
$this->usertab->last= $this->usertab->current;
}
/* Show tab dialog if object is present */
- if ($this->usertab){
+ if(isset($this->usertab->config)){
$display= $this->usertab->execute();
/* Don't show buttons if tab dialog requests this */