summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/ldap/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index f3d8db5af1..86d7dfa8f2 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -67,7 +67,7 @@ ldap_module php3_ldap_module;
function_entry ldap_functions[] = {
PHP_FE(ldap_connect, NULL)
- PHP_FE(ldap_close, NULL)
+ PHP_FALIAS(ldap_close, ldap_unbind, NULL)
PHP_FE(ldap_bind, NULL)
PHP_FE(ldap_unbind, NULL)
PHP_FE(ldap_read, NULL)