From fb789d9f4c79f9652868a974981535a90a2f7aa7 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Nov 2008 07:37:08 +0000 Subject: [PATCH] Updated workstation startup -Do not display warning if FAIrelease wasn't selected yet git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12955 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationStartup.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index 1d9131090..2419a7abe 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -1124,7 +1124,10 @@ class workstartup extends plugin /* Check if the selected release is available */ if($this->FAIdebianMirror != "inherited" && !isset($this->cache['SERVERS'][$this->FAIdebianMirror][$this->FAIrelease])){ - trigger_error("There was a problem with the selected FAIrelease. This release ('".$this->FAIrelease."') is not available"); + + if($this->FAIrelease != ""){ + trigger_error("There was a problem with the selected FAIrelease. This release ('".$this->FAIrelease."') is not available"); + } $this->FAIrelease = key($this->cache['SERVERS'][$this->FAIdebianMirror]); } } -- 2.30.2