From cbedb5212cdf7a183c69994d2765b263719e2237 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Dec 2008 13:32:50 +0000 Subject: [PATCH] Fixed snapshot error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13113 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 5fcbf5597..79346e701 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -1304,7 +1304,9 @@ class plugin $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->rmdir_recursive($this->dn); - msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn)); + if(!$ldap->success()){ + msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn)); + } $this->dn = $old_dn; } -- 2.30.2