From: cajus Date: Tue, 31 May 2005 12:20:58 +0000 (+0000) Subject: Fixed save problem when no kolab object is present X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c37e7c5ca5d20191f1db61cf6a9f1e4c2a7d72ec;p=gosa.git Fixed save problem when no kolab object is present git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@548 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servKolab.inc b/plugins/admin/systems/class_servKolab.inc index 65d5a147e..910ab152e 100644 --- a/plugins/admin/systems/class_servKolab.inc +++ b/plugins/admin/systems/class_servKolab.inc @@ -135,6 +135,10 @@ class servkolab extends plugin { $ldap= $this->config->get_ldap_link(); $this->dn = "k=kolab,".$this->config->current['BASE']; + if (count($this->kolabHost) == 0){ + return; + } + /* Are we alone? Remove complete entry... */ if (count($this->kolabHost) == 1){