From: hickert Date: Fri, 19 Nov 2010 16:38:30 +0000 (+0000) Subject: Hide nagios ans phone settings correctly for groups X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a16e79871c89687befef5427a608a97e4f6a5937;p=gosa.git Hide nagios ans phone settings correctly for groups git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20307 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/class_group.inc b/gosa-core/plugins/admin/groups/class_group.inc index 9462e6556..f1cacfdc4 100644 --- a/gosa-core/plugins/admin/groups/class_group.inc +++ b/gosa-core/plugins/admin/groups/class_group.inc @@ -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){