From: hickert Date: Thu, 14 Sep 2006 06:38:47 +0000 (+0000) Subject: Fixed undefined index error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61ead5c21ed63c2ba9b6f7c7d9884eb42eef8cb5;p=gosa.git Fixed undefined index error git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4650 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc index 134aeaa89..bd6617025 100644 --- a/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/plugins/admin/ogroups/class_ogroupManagement.inc @@ -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;