From: hickert Date: Wed, 3 Dec 2008 12:42:34 +0000 (+0000) Subject: Updated fai X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e4f697792e37575b8408349f5ce3b01583f8d47;p=gosa.git Updated fai git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13144 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc b/gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc index 0049555ed..eb31295ad 100644 --- a/gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc +++ b/gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc @@ -18,11 +18,13 @@ class faiGroupHandle{ } /* Preset required values */ + $select_set = FALSE; foreach($FAI_group as $type => $data){ $FAI_group[$type]['selected'] = FALSE; $FAI_group[$type]['freezed'] = isset($data['FAIstate']) && preg_match("/freeze/",$data['FAIstate']); - if(($this->mode == "cut" || $this->mode == "edit") && !$FAI_group[$type]['freezed']){ + if(!$select_set && ($this->mode == "cut" || $this->mode == "edit") && !$FAI_group[$type]['freezed']){ $FAI_group[$type]['selected'] = TRUE; + $select_set =TRUE; } } $this->FAI_group = $FAI_group;