From 7c0200dd61a63dc1cbc8b46f11fe78d1d91e1b2b Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Sep 2008 13:38:30 +0000 Subject: [PATCH] Only query opsi hosts, if they are available. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12426 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_systemManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 61e2f725d..1b26ef9a4 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -1192,7 +1192,7 @@ class systems extends plugin /* Append opsi systems, the opsi extension have to installed. */ - if($this->opsi != NULL){ + if($this->opsi != NULL && $this->opsi->enabled()){ $opsi_clients = $this->opsi->get_hosts_for_system_management(); if($this->opsi->is_error()){ msg_dialog::display(_("Error"),msgPool::siError($this->opsi->get_error()),ERROR_DIALOG); -- 2.30.2