summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6fb86ec)
raw | patch | inline | side by side (parent: 6fb86ec)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 05:09:33 +0000 (05:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 05:09:33 +0000 (05:09 +0000) |
"showning own lock message caused by reloading edit post" ,
"prevent displaying broken objects "
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2780 594d385d-05f5-0310-b6e9-bd551577e9d8
"prevent displaying broken objects "
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2780 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 89db9a1768caab0ff5cb34db36efbf598b452437..89178d11324662dc8394d6b34181e4333e1a5547 100644 (file)
/* Edit Entry if Posted action (s_action) == edit
* The entry which will be edited is defined in $s_entry
*/
- if ($s_action=="edit"){
+ if (( $s_action=="edit") && (!isset($this->deptabs->config))){
$this->dn= $this->config->departments[trim($s_entry)];
if (($user= get_lock($this->dn)) != ""){
/* Edit Complete ...
* Finish request
*/
- if (isset($_POST['edit_finish'])){
+ if ((isset($_POST['edit_finish'])) && (isset($this->deptabs->config) ) ){
/* Check tabs, will feed message array */
$message= $this->deptabs->check();
unset ($_SESSION['objectinfo']);
}
-
/* Headpage or normal plugin screen? */
if ($this->deptabs == NULL){
/* Check sorting variable */