Code

Added remove multiple to fai
[gosa.git] / plugins / admin / fai / class_faiPackage.inc
index c3b84bfe1d63a60b8d17d66c5e44b92695ac33a2..9e45b692ed8751eeea978efbdc4761052d28ed98 100644 (file)
@@ -191,8 +191,10 @@ class faiPackage extends plugin
 
       /* Assemble sections */
       $repos= $this->getServerInfos();
-      $this->FAIdebianSection= $repos[$this->FAIdebianRelease];
-      $this->FAIdebianSection= array_unique($this->FAIdebianSection);
+      if(isset($repos[$this->FAIdebianRelease])){
+        $this->FAIdebianSection= $repos[$this->FAIdebianRelease];
+        $this->FAIdebianSection= array_unique($this->FAIdebianSection);
+      }
 
       /* Assign Repository settings*/ 
       $this->is_account     = true;