summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ccd165f)
raw | patch | inline | side by side (parent: ccd165f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Apr 2008 11:58:31 +0000 (11:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Apr 2008 11:58:31 +0000 (11:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10465 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index d0b78ff327df3fb170ab1a43c7ef9c33fe5c3281..bf8497fbe1452af72554d92ae51cf40ce98e3de4 100644 (file)
$ret = array_flip($ret);
/* Ensure that we have a valid release selected */
- if(!in_array($this->fai_release,$ret)){
- # $this->fai_release = $this->fai_base;
+ if(!isset($ret[$this->fai_release])){
+ $this->fai_release = $this->fai_base;
}
return ($ret);