Code

Fixed FAI summery for Profiles
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Apr 2008 08:23:52 +0000 (08:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Apr 2008 08:23:52 +0000 (08:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10530 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc

index 130efb441edfbabde0def4c71ed3bfa96b3a821d..f493543470717be53cc9ec4b2a44844430847bf6 100644 (file)
@@ -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'])){