Code

Closes #270 Reproduced and fixed - If FAIrelease was empty, this message was displaye...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 11:25:31 +0000 (11:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 11:25:31 +0000 (11:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7885 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index dc07cb02a08b83be452a8d513f8c77ba557d0453..d74d760eed4bcc99eee27d9c924e412f235684b3 100644 (file)
@@ -457,7 +457,9 @@ class workstartup extends plugin
   function selectFriendlyClasses(){
     $tmp=array();
 
-    if($this->FAIdebianMirror == "inherited") return($tmp);
+    if($this->FAIdebianMirror == "inherited" || $this->FAIrelease == ""){
+      return($tmp);
+    }
 
     /* check if the current release exists,
         else select the first one ..