summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1dde03)
raw | patch | inline | side by side (parent: f1dde03)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jul 2008 05:43:15 +0000 (05:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jul 2008 05:43:15 +0000 (05:43 +0000) |
-Avoid adding empty 'section' names
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11563 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11563 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc
index ad7ee735b5add8525eef6cfda5b63cb062a20599..ac3509a8e42292b84e4b22e90c04929580f59074 100644 (file)
/* Add new entries */
foreach($vals as $entry){
$entry = trim($entry);
- $this->Sections[$entry]=$entry;
+ if(!empty($entry)){
+ $this->Sections[$entry]=$entry;
+ }
}
}else{
$this->Sections[$val]=$val;