summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 82ddc2d)
raw | patch | inline | side by side (parent: 82ddc2d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Aug 2009 12:08:23 +0000 (12:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Aug 2009 12:08:23 +0000 (12:08 +0000) |
-Only save numerical indices.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13980 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13980 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
index 4caa07c09d8c025fc930c6402cd242d6e7735a89..68fa8addf18ee1c928658f0fd4cb5ca2a619c46d 100644 (file)
}
}else{
if(isset($disk[$attr]) && !empty($disk[$attr])){
- $disk_attrs[$attr] = $disk[$attr];
+ if(is_array($disk[$attr])){
+ $disk_attrs[$attr] = array_values($disk[$attr]);
+ }else{
+ $disk_attrs[$attr] = $disk[$attr];
+ }
}else{
$disk_attrs[$attr] = array();
}