summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-11-03 13:50:43 +0000
committerSterling Hughes <sterling@php.net>2003-11-03 13:50:43 +0000
commit6ab221b3f6d3f6eb9183c555965a0dc10585f1a9 (patch)
treee7fcd632c287731adf65647b12f236eaaea037bc
parente963f0b168da188d7119c3a0725ea400fa2d9b07 (diff)
downloadphp-git-6ab221b3f6d3f6eb9183c555965a0dc10585f1a9.tar.gz
remove attributes from this check
-rw-r--r--ext/simplexml/simplexml.c9
1 files changed, 0 insertions, 9 deletions
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);