]> granicus.if.org Git - php/commitdiff
remove attributes from this check
authorSterling Hughes <sterling@php.net>
Mon, 3 Nov 2003 13:50:43 +0000 (13:50 +0000)
committerSterling Hughes <sterling@php.net>
Mon, 3 Nov 2003 13:50:43 +0000 (13:50 +0000)
ext/simplexml/simplexml.c

index e7eafa32d97ed2ed028c32f509af2dfe73d3527b..464a77be2636c4c6ea524cd5945145dc9d0f4991 100644 (file)
@@ -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);