Code

fixed error msgs for gofax
[gosa.git] / plugins / gofax / faxaccount / class_gofaxAccount.inc
index cc063a61a04dade60c9e367ab2ea7cfc3b86b52c..aacc13e846646ee71bfb3b69f422f09882211b7c 100644 (file)
@@ -621,7 +621,7 @@ class gofaxAccount extends plugin
     $this->cleanup();
     $ldap->modify ($this->attrs); 
 
-    show_ldap_error($ldap->get_error(), _("Removing FAX account failed"));
+    show_ldap_error($ldap->get_error(), sprintf(_("Removing of user/fax account with dn '%s' failed."),$this->dn));
 
     /* Optionally execute a command after we're done */
     $this->handle_post_events('remove');
@@ -740,7 +740,7 @@ class gofaxAccount extends plugin
     $this->cleanup();
     $ldap->modify ($this->attrs); 
 
-    show_ldap_error($ldap->get_error(), _("Saving FAX account failed"));
+    show_ldap_error($ldap->get_error(), sprintf(_("Saving of user/fax account with dn '%s' failed."),$this->dn));
 
     /* Optionally execute a command after we're done */
     if ($this->initially_was_account == $this->is_account){