From c37e7c5ca5d20191f1db61cf6a9f1e4c2a7d72ec Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 31 May 2005 12:20:58 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_servKolab.inc | 4 ++++ 1 file changed, 4 insertions(+) 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){ -- 2.30.2