summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-06-09 21:39:12 +0000
committerZeev Suraski <zeev@php.net>1999-06-09 21:39:12 +0000
commit95c9e3014ae7472f9c31ed7e02704ec5340ccb41 (patch)
treedceb893e8ee7313fa93ba92af20449d3f7418f10 /Zend/zend_API.c
parentb331ead5bf2b46c8b0511ccf88dcea57f6f45680 (diff)
downloadphp-git-95c9e3014ae7472f9c31ed7e02704ec5340ccb41.tar.gz
* Fix cases where you assign an array element to the parent array (the array was
being erased before the assignment, so the element was being smashed).
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index a739fc1da9..6e30d592c7 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -326,7 +326,7 @@ ZEND_API inline int add_index_string(zval *arg, uint index, char *str, int dupli
}
tmp->refcount=1;
tmp->is_ref=0;
- return zend_hash_index_update(arg->value.ht, index, (void *) &tmp, sizeof(zval *),NULL);
+ return zend_hash_index_update(arg->value.ht, index, (void *) &tmp, sizeof(zval *), NULL);
}