From: cajus Date: Fri, 25 Apr 2008 09:08:01 +0000 (+0000) Subject: Removed PHP error that may occur in some special instances X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c68de71abc4a89402b97e6344c0fe63464ffc24;p=gosa.git Removed PHP error that may occur in some special instances git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10684 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc index e5654cd73..843b5452e 100644 --- a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc +++ b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc @@ -89,9 +89,11 @@ class ogrouptabs extends tabs $this->by_object['workstartup']->remove_from_parent(); unset($this->by_object['workstartup']); unset($this->by_name['workstartup']); - $this->by_object['faiSummary']->remove_from_parent(); - unset($this->by_object['faiSummary']); - unset($this->by_name['faiSummary']); + if (isset($this->by_object['faiSummary'])){ + $this->by_object['faiSummary']->remove_from_parent(); + unset($this->by_object['faiSummary']); + unset($this->by_name['faiSummary']); + } } }