Code

Added trust stuff - not finished yet. Save and load works.
[gosa.git] / 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']);
+       }
       }
     }