1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Fix typo in simplexml.c

This commit is contained in:
Niels Dossche
2024-07-06 23:07:36 +02:00
parent acda7ed5c3
commit 477c2afb48

View File

@@ -717,7 +717,7 @@ static int sxe_prop_dim_exists(zend_object *object, zval *member, int check_empt
}
if (exists && check_empty == 1 &&
(!attr->children || !attr->children->content || !attr->children->content[0] || xmlStrEqual(attr->children->content, (const xmlChar *) "0")) ) {
/* Attribute with no content in it's text node */
/* Attribute with no content in its text node */
exists = 0;
}
}