diff options
| author | Xinchen Hui <laruence@gmail.com> | 2015-12-21 18:12:57 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@gmail.com> | 2015-12-21 18:12:57 +0800 |
| commit | 4531d2c5913eddbbc38d04be6b2dffec30202887 (patch) | |
| tree | 6af07f5af2fe94e022b8c7681d43411c593ff55e /ext/soap/php_encoding.c | |
| parent | 817513af4ec5e5a45fdd7ecd0a00e728d00c3ff3 (diff) | |
| download | php-git-4531d2c5913eddbbc38d04be6b2dffec30202887.tar.gz | |
Fixed typo
Diffstat (limited to 'ext/soap/php_encoding.c')
| -rw-r--r-- | ext/soap/php_encoding.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
