summaryrefslogtreecommitdiff
path: root/ext/qtdom
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-08-13 16:40:12 +0000
committerAndi Gutmans <andi@php.net>2001-08-13 16:40:12 +0000
commita5afd0e9d04861e312f95d839c342110f300ca64 (patch)
tree6566a9b446dc8d44c9ef1a0643971589c15fead3 /ext/qtdom
parent9a3d4e736c974213e2c0862d420907604e22e5d5 (diff)
downloadphp-git-a5afd0e9d04861e312f95d839c342110f300ca64.tar.gz
- ZE2 fixes
Diffstat (limited to 'ext/qtdom')
-rw-r--r--ext/qtdom/qtdom.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/qtdom/qtdom.c b/ext/qtdom/qtdom.c
index a3d3106f14..7c4bb4386e 100644
--- a/ext/qtdom/qtdom.c
+++ b/ext/qtdom/qtdom.c
@@ -176,10 +176,8 @@ static int qdom_find_children( zval **children, struct qdom_node *orig_node TSRM
struct qdom_attribute *attr = qdom_do_node_attributes( node );
if ( qdom_find_attributes( &a_children, attr TSRMLS_CC) > 0 )
{
- zend_hash_update(child->value.obj.properties,
- "attributes", sizeof("attributes"),
- (void *) &a_children, sizeof(zval *),
- NULL);
+ zend_hash_update(Z_OBJPROP_P(child), "attributes", sizeof("attributes"),
+ (void *) &a_children, sizeof(zval *), NULL);
}
qdom_do_attributes_free( attr );
/* add_property_long(child, "attributes", num_attrs ); */