diff options
| author | Rob Richards <rrichards@php.net> | 2010-12-27 19:00:13 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2010-12-27 19:00:13 +0000 |
| commit | 8029a7563c1c52a68b8fae454526d289dbd777ee (patch) | |
| tree | d3a4b27c75aef825a9abfdd1c04b8b8bbc95b769 /ext/simplexml/simplexml.c | |
| parent | 8bd6c63f6610addd8e68fa52dbea8668e7b4b4d4 (diff) | |
| download | php-git-8029a7563c1c52a68b8fae454526d289dbd777ee.tar.gz | |
typo
Diffstat (limited to 'ext/simplexml/simplexml.c')
| -rw-r--r-- | ext/simplexml/simplexml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index ba61dea171..d767b5bf89 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1099,7 +1099,7 @@ static HashTable * sxe_get_prop_hash(zval *object, int is_debug TSRMLS_DC) /* {{ if (sxe->iter.type == SXE_ITER_ELEMENT) { node = php_sxe_get_first_node(sxe, node TSRMLS_CC); } - if (node->tpye != XML_ENTITY_DECL) { + if (node->type != XML_ENTITY_DECL) { attr = node ? (xmlAttrPtr)node->properties : NULL; zattr = NULL; test = sxe->iter.name && sxe->iter.type == SXE_ITER_ATTRLIST; |
