From: foobar Date: Sat, 9 Jul 2005 01:00:11 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.0.5RC1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=800e57ea5cba062928c2d206613c33904db10c71;p=php MFH --- diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 2b4526af52..c1568a7a3a 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -730,7 +730,6 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) /* If anything else than string is passed, ldap_base_dn = NULL */ if (Z_TYPE_PP(base_dn) == IS_STRING) { - convert_to_string_ex(base_dn); ldap_base_dn = Z_STRVAL_PP(base_dn); } } @@ -770,7 +769,6 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) nbases = 0; /* this means string, not array */ /* If anything else than string is passed, ldap_base_dn = NULL */ if (Z_TYPE_PP(base_dn) == IS_STRING) { - convert_to_string_ex(base_dn); ldap_base_dn = Z_STRVAL_PP(base_dn); } else { ldap_base_dn = NULL; @@ -815,7 +813,6 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) /* If anything else than string is passed, ldap_base_dn = NULL */ if (Z_TYPE_PP(entry) == IS_STRING) { - convert_to_string_ex(entry); ldap_base_dn = Z_STRVAL_PP(entry); } else { ldap_base_dn = NULL;