Code

Fixed undefined index error
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Sep 2006 06:38:47 +0000 (06:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Sep 2006 06:38:47 +0000 (06:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4650 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_ogroupManagement.inc

index 134aeaa8920bbcbc65bd7504ffa9392a684f00a5..bd6617025b7cbf91a12b499f677bf5603e284c5c 100644 (file)
@@ -309,7 +309,7 @@ class ogroupManagement extends plugin
      ****************/
 
     /* Cancel dialogs */
-    if (isset($_POST['edit_cancel'])){
+    if ((isset($_POST['edit_cancel'])) && (isset($this->ogroup->dn))){
       del_lock ($this->ogroup->dn);
       unset ($this->ogroup);
       $this->ogroup= NULL;