From a16e79871c89687befef5427a608a97e4f6a5937 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Nov 2010 16:38:30 +0000 Subject: [PATCH] Hide nagios ans phone settings correctly for groups git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20307 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/groups/class_group.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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){ -- 2.30.2