]> granicus.if.org Git - php/commitdiff
typo
authorRob Richards <rrichards@php.net>
Mon, 27 Dec 2010 19:00:13 +0000 (19:00 +0000)
committerRob Richards <rrichards@php.net>
Mon, 27 Dec 2010 19:00:13 +0000 (19:00 +0000)
ext/simplexml/simplexml.c

index 283c903488b63f9b96c1b31bb29a37bbd4dc6e04..cbde980c04eed68918b10a6ce3600915ddb75bd4 100644 (file)
@@ -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;