diff --git a/include/functions.inc b/include/functions.inc
index d6518ba9033fa315b2ae6769663ec4aa3d23fbc7..2262718feee29e28c1302b785ac85c3c0d73e246 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
/* Sadly we've no proper return values here. Use the error message instead. */
if (!preg_match("/Success/i", $ldap->error)){
- echo sprintf(_("FATAL: Error when connecting the LDAP. Server said '%s'."), $ldap->get_error()));
+ echo sprintf(_("FATAL: Error when connecting the LDAP. Server said '%s'."), $ldap->get_error());
exit();
}