From 87ab0fd5c0917c091bfc1bbb21eb3e583fa25a8c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Nov 2007 11:25:31 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_workstationStartup.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 .. -- 2.30.2