com php-src: Fixed typo: ext/soap/php_encoding.c
| From: | Xinchen Hui | Date: | Mon, 21 Dec 2015 10:12:57 +0000 |
| Subject: | com php-src: Fixed typo: ext/soap/php_encoding.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90365@lists.php.net to get a copy of this message | ||
Commit: 4531d2c5913eddbbc38d04be6b2dffec30202887
Author: Xinchen Hui <laruence@gmail.com> Mon, 21 Dec 2015 18:12:57 +0800
Parents: 817513af4ec5e5a45fdd7ecd0a00e728d00c3ff3
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4531d2c5913eddbbc38d04be6b2dffec30202887
Log:
Fixed typo
Changed paths:
M ext/soap/php_encoding.c
Diff:
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c
index c03d433..7082415 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;