Code

Removed PHP error that may occur in some special instances
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Apr 2008 09:08:01 +0000 (09:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Apr 2008 09:08:01 +0000 (09:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10684 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/tabs_ogroups.inc

index e5654cd7342dfb9f4b180075b42eab2d3d209c2b..843b5452e9a8110ed9293a1ad03a0368a3db1f61 100644 (file)
@@ -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']);
+       }
       }
     }