diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index f36c4cff5ac..ca28c193f1e 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -1006,7 +1006,7 @@ PHP_FUNCTION(ldap_get_values_len) } for (i=0; ibv_val, ldap_value_len[i]->bv_len, 1); + add_next_index_stringl(return_value, ldap_value_len[i]->bv_val, ldap_value_len[i]->bv_len, 1); } add_assoc_long(return_value, "count", num_values);