From: psc Date: Thu, 29 Apr 2010 09:03:23 +0000 (+0000) Subject: Apply bugfix for #3285 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83f8d33e459bd273ee2be3656c9bd4d4ed4245e8;p=gosa.git Apply bugfix for #3285 Re-add a else clause that went missing and caused repositories to be undeletable again. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17926 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index 4fee0e65e..eae428b70 100644 --- a/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -145,6 +145,10 @@ class servrepository extends goService unset($this->repositories[$value]); } } + } else { + if(isset($this->repositories[$value])) { + unset($this->repositories[$value]); + } } }