From: hickert Date: Thu, 7 Jan 2010 13:05:52 +0000 (+0000) Subject: Updated fai Management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c17f26cafaaf9840a7ae27a89bddd673586434b;p=gosa.git Updated fai Management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15108 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index fca8cf4c6..3906a931e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -1062,7 +1062,7 @@ class faiManagement extends management $headpage->update(); $smarty = get_smarty(); $smarty->assign("fai_release", $this->fai_release); - $smarty->assign("opsi_available", is_object($this->opsi)); + $smarty->assign("opsi_available", (is_object($this->opsi) && $this->opsi->enabled())); $smarty->assign("fai_base", $this->fai_base); $r = $this->config->search("faiManagement", "POSTREMOVE",array('menu','tabs')); $c = $this->config->search("faiManagement", "POSTCREATE",array('menu','tabs'));