summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c407a3)
raw | patch | inline | side by side (parent: 1c407a3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Dec 2008 12:42:34 +0000 (12:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Dec 2008 12:42:34 +0000 (12:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13144 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc b/gosa-plugins/fai/admin/fai/class_faiGroupHandle.inc
index 0049555ed00f209335c61918162e82523d3f36d0..eb31295ad968ea011760147a6dde4dedeccd5daf 100644 (file)
}
/* 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;