]> granicus.if.org Git - php/commitdiff
- restoring init of the uni str which has been removed (patch by Pierre)
authorJohannes Schlüter <johannes@php.net>
Wed, 1 Nov 2006 20:04:19 +0000 (20:04 +0000)
committerJohannes Schlüter <johannes@php.net>
Wed, 1 Nov 2006 20:04:19 +0000 (20:04 +0000)
Zend/zend_hash.c

index 67a13cc5efee527133c9c4b4bee5cdaac97fffee..be2d770f9c41bb51bd4bdd5aea22b4e142817fa7 100644 (file)
@@ -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) {