forgotten part of the fix

This commit is contained in:
Antony Dovgal 2005-11-23 11:57:43 +00:00
parent 9e9a55f9ac
commit 9457dc348c

View File

@ -1080,11 +1080,11 @@ static int zend_merge_property(zval **value, int num_args, va_list args, zend_ha
TSRMLS_FETCH();
if (hash_key->type == IS_STRING) {
ZVAL_STRINGL(member, hash_key->u.string, hash_key->nKeyLength-1, 0);
ZVAL_STRINGL(member, hash_key->u.string, hash_key->nKeyLength-1, 1);
} else if (hash_key->type == IS_BINARY) {
ZVAL_BINARYL(member, hash_key->u.string, hash_key->nKeyLength-1, 0);
ZVAL_BINARYL(member, hash_key->u.string, hash_key->nKeyLength-1, 1);
} else if (hash_key->type == IS_UNICODE) {
ZVAL_UNICODEL(member, hash_key->u.unicode, hash_key->nKeyLength-1, 0);
ZVAL_UNICODEL(member, hash_key->u.unicode, hash_key->nKeyLength-1, 1);
}
MAKE_STD_ZVAL(member);