From: hickert Date: Mon, 26 Nov 2007 11:25:31 +0000 (+0000) Subject: Closes #270 Reproduced and fixed - If FAIrelease was empty, this message was displaye... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=87ab0fd5c0917c091bfc1bbb21eb3e583fa25a8c;p=gosa.git Closes #270 Reproduced and fixed - If FAIrelease was empty, this message was displayed always git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7885 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index dc07cb02a..d74d760ee 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -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 ..