From: hickert Date: Thu, 7 Jan 2010 10:00:50 +0000 (+0000) Subject: Ensure that a valid release is selected, X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0b6783a233de15dd8509fcbe967fac44dafe1f2;p=gosa.git Ensure that a valid release is selected, git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15101 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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(