From: Rob Richards Date: Mon, 27 Dec 2010 19:00:13 +0000 (+0000) Subject: typo X-Git-Tag: php-5.3.6RC1~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fab69a17d70c97d4b002b7af6d1e70f9eb68c20;p=php typo --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 283c903488..cbde980c04 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;