From: Sterling Hughes Date: Mon, 3 Nov 2003 13:50:43 +0000 (+0000) Subject: remove attributes from this check X-Git-Tag: php-5.0.0b3RC1~789 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ab221b3f6d3f6eb9183c555965a0dc10585f1a9;p=php remove attributes from this check --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index e7eafa32d9..464a77be26 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -368,15 +368,6 @@ sxe_property_exists(zval *object, zval *member, int check_empty TSRMLS_DC) GET_NODE(sxe, node); if (node) { - attr = node->properties; - while (attr) { - if (!xmlStrcmp(attr->name, name)) { - return 1; - } - - attr = attr->next; - } - node = node->children; while (node) { SKIP_TEXT(node);