From: hickert Date: Wed, 9 Jul 2008 05:43:15 +0000 (+0000) Subject: Updated repository service. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=76c13f6d7d490b3f619873ff9283965bfa9d0e07;p=gosa.git Updated repository service. -Avoid adding empty 'section' names git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11563 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 ad7ee735b..ac3509a8e 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc @@ -70,7 +70,9 @@ class servRepositorySetup extends plugin /* 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;