From b0b6783a233de15dd8509fcbe967fac44dafe1f2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 7 Jan 2010 10:00:50 +0000 Subject: [PATCH] Ensure that a valid release is selected, git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15101 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 92d99fc02..fca8cf4c6 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -68,6 +68,11 @@ class faiManagement extends management $this->fai_release = $this->fai_base; } + $releases = $this->getReleaseList(); + if(!isset($releases[$this->fai_release])){ + $this->fai_release = $this->fai_base; + } + $this->acl_base = $this->config->current['BASE']; $this->ui = $ui; $this->storagePoints = array( -- 2.30.2