From: Johannes Schlüter Date: Wed, 1 Nov 2006 20:04:19 +0000 (+0000) Subject: - restoring init of the uni str which has been removed (patch by Pierre) X-Git-Tag: RELEASE_1_0_0RC1~1153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b805aab5dd346a3f368b96cf2e94099112990c7;p=php - restoring init of the uni str which has been removed (patch by Pierre) --- diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c index 67a13cc5ef..be2d770f9c 100644 --- a/Zend/zend_hash.c +++ b/Zend/zend_hash.c @@ -945,6 +945,8 @@ ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t ap va_start(args, num_args); hash_key.nKeyLength = p->nKeyLength; hash_key.h = p->h; + hash_key.type = p->key.type; + hash_key.arKey.s = p->key.arKey.s; result = apply_func(p->pData, num_args, args, &hash_key); if (result & ZEND_HASH_APPLY_REMOVE) {