1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Co-authored-by: Alexander Borisov <lex.borisov@gmail.com>
This commit is contained in:
Niels Dossche
2025-05-16 20:27:56 +02:00
committed by GitHub
parent 72efe6dcdf
commit dbc7c5f34a

View File

@@ -444,7 +444,9 @@ lxb_dom_element_attr_by_local_name_data(lxb_dom_element_t *element,
lxb_dom_attr_t *attr = element->first_attr;
while (attr != NULL) {
if (attr->node.local_name == data->attr_id) {
if (attr->node.local_name == data->attr_id
|| attr->qualified_name == data->attr_id)
{
return attr;
}