From: hickert Date: Thu, 17 Apr 2008 08:23:52 +0000 (+0000) Subject: Fixed FAI summery for Profiles X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a51141e4ab966c3e0455ee216546e2901e2446ad;p=gosa.git Fixed FAI summery for Profiles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10530 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc index 130efb441..f49354347 100644 --- a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc +++ b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc @@ -68,8 +68,10 @@ class faiSummaryTab extends plugin{ /* Get Classes and release */ $this->Classes = $this->parent->by_object['faiProfile']->FAIclasses; - $this->base = $this->parent->by_object['faiProfile']->base; + $this->base = $this->parent->by_object['faiProfile']->parent->parent->fai_release; $str = preg_replace("/^.*".normalizePreg(get_ou('faiprofileou'))."/","",$this->dn); + $tmp = $this->parent->by_object['faiProfile']->parent->parent->getBranches(); + $this->Release = $tmp[$this->base]; /* Check if parent tab is work tab */ }elseif(isset($this->parent->by_name['workstartup'])){