From: Andrei Zmievski Date: Wed, 28 Jun 2000 20:09:04 +0000 (+0000) Subject: Oops, didn't mean to commit that. X-Git-Tag: PRE_METHOD_CALL_SEPERATE_FIX_PATCH~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49365eea7982fcd53e6a32b707cab1b41a0e02f7;p=php Oops, didn't mean to commit that. --- diff --git a/ext/standard/array.c b/ext/standard/array.c index 2eced456c2..6910fbb701 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -1373,7 +1373,7 @@ HashTable* php_splice(HashTable *in_hash, int offset, int length, if (p->nKeyLength) zend_hash_update(out_hash, p->arKey, p->nKeyLength, &entry, sizeof(zval *), NULL); else - zend_hash_index_update(out_hash, p->h, &entry, sizeof(zval *), NULL); + zend_hash_next_index_insert(out_hash, &entry, sizeof(zval *), NULL); } /* If hash for removed entries exists, go until offset+length @@ -1385,7 +1385,7 @@ HashTable* php_splice(HashTable *in_hash, int offset, int length, if (p->nKeyLength) zend_hash_update(*removed, p->arKey, p->nKeyLength, &entry, sizeof(zval *), NULL); else - zend_hash_index_update(*removed, p->h, &entry, sizeof(zval *), NULL); + zend_hash_next_index_insert(*removed, &entry, sizeof(zval *), NULL); } } else /* otherwise just skip those entries */ for( ; pospListNext);