diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index 2fbf59e6d13ae06276577540a9397453c2d4e919..2ed4ceea0fb67439592bbb13dc17437d39aae4a1 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
} else {
$adderror= $this->get_additional_error();
if ($adderror != ""){
- $error= $this->error." (".$this->get_additional_error().", ".sprintf(_("while operating on '%s' using LDAP server '%s'"), $this->base, $this->hostname).")";
+ $error= $this->error." (".$this->get_additional_error().", ".sprintf(_("while operating on '%s' using LDAP server '%s'"), $this->basedn, $this->hostname).")";
} else {
$error= $this->error." (".sprintf(_("while operating on LDAP server %s"), $this->hostname).")";
}