From 2c70ba7b9a30377e2383f4d06792bc7f790519da Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 22 Jun 2009 12:41:55 +0000 Subject: [PATCH] Updated FAI summary tab -It will now work with inherited values. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13757 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc index 905a97893..f322d0b6d 100644 --- a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc +++ b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc @@ -75,8 +75,13 @@ class faiSummaryTab extends plugin{ /* Check if parent tab is work tab */ }elseif(isset($this->parent->by_name['workstartup'])){ - $this->Classes = $this->parent->by_object['workstartup']->FAIclass; - $this->Release = $this->parent->by_object['workstartup']->FAIrelease; + if($this->parent->by_object['workstartup']->FAIdebianMirror == "inherited"){ + $this->Classes = $this->parent->by_object['workstartup']->InheritedFAIclass; + $this->Release = $this->parent->by_object['workstartup']->InheritedFAIrelease; + }else{ + $this->Classes = $this->parent->by_object['workstartup']->FAIclass; + $this->Release = $this->parent->by_object['workstartup']->FAIrelease; + } /* Check if this is a workstation or an object group */ if(isset($this->parent->by_object['workgeneric'])){ -- 2.30.2