From: hickert Date: Tue, 2 Dec 2008 13:32:50 +0000 (+0000) Subject: Fixed snapshot error message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cbedb5212cdf7a183c69994d2765b263719e2237;p=gosa.git Fixed snapshot error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13113 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }