Fix XML deprecation

This commit is contained in:
Philipp 2023-07-05 22:02:58 +02:00
parent f693032109
commit 00cd346255
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -118,7 +118,7 @@ class XML
$namespace = null; $namespace = null;
} }
$element->addAttribute($attr_key, $attr_value, $namespace); $element->addAttribute($attr_key, $attr_value ?? '', $namespace);
} }
continue; continue;