From: Xinchen Hui Date: Mon, 21 Dec 2015 10:12:57 +0000 (+0800) Subject: Fixed typo X-Git-Tag: php-7.0.2RC1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4531d2c5913eddbbc38d04be6b2dffec30202887;p=php Fixed typo --- diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index c03d433951..70824152c8 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -2188,9 +2188,8 @@ static void add_xml_array_elements(xmlNodePtr xmlParam, static inline int array_num_elements(HashTable* ht) { if (ht->nNumUsed && - Z_TYPE(ht->arData[ht->nNumUsed-1].val) != IS_UNUSED && + Z_TYPE(ht->arData[ht->nNumUsed-1].val) != IS_UNDEF && ht->arData[ht->nNumUsed-1].key == NULL) { - return ht->arData[ht->nNumUsed-1].h - 1; } return 0;