Code

Hide nagios ans phone settings correctly for groups
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Nov 2010 16:38:30 +0000 (16:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Nov 2010 16:38:30 +0000 (16:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20307 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/class_group.inc

index 9462e6556bb1100f8b869671392eb62fdb0a38c7..f1cacfdc49c012238005c7073aecb6117e201a5b 100644 (file)
@@ -289,8 +289,8 @@ class group extends plugin
 
 
 
-        $smarty->assign("nagios", $this->config->pluginEnabled("nagiosAccount"));
-        $smarty->assign("pickupGroup", $this->config->pluginEnabled("phoneAccount"));
+        $smarty->assign("nagios", $this->config->pluginEnabled("nagiosAccount") && class_available("nagiosAccount"));
+        $smarty->assign("pickupGroup", $this->config->pluginEnabled("phoneAccount") && class_available("phoneAccount"));
 
         /* Manage object add dialog */
         if ($this->userSelect){