diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2009-08-30 15:33:59 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2009-08-30 15:33:59 +0000 |
commit | 30b71027469ed485c4a98531cf04224adc70215d (patch) | |
tree | d73f1933dd0853adfdfa45204418ddf067f86624 /ext/ldap/ldap.c | |
parent | b08e82a736a16bd08eeee66364e1af5d0601ca96 (diff) | |
download | php-git-30b71027469ed485c4a98531cf04224adc70215d.tar.gz |
Bug #49391 ldap.c utilizing deprecated ldap_modify_s
Diffstat (limited to 'ext/ldap/ldap.c')
-rw-r--r-- | ext/ldap/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 34dedaf727..2a1b9d12f7 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -1350,7 +1350,7 @@ static void php_ldap_do_modify(INTERNAL_FUNCTION_PARAMETERS, int oper) RETVAL_FALSE; } else RETVAL_TRUE; } else { - if ((i = ldap_modify_s(ld->link, dn, ldap_mods)) != LDAP_SUCCESS) { + if ((i = ldap_modify_ext_s(ld->link, dn, ldap_mods, NULL, NULL)) != LDAP_SUCCESS) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Modify: %s", ldap_err2string(i)); RETVAL_FALSE; } else RETVAL_TRUE; |