Fix XML deprecation
This commit is contained in:
parent
f693032109
commit
00cd346255
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class XML
|
|||
$namespace = null;
|
||||
}
|
||||
|
||||
$element->addAttribute($attr_key, $attr_value, $namespace);
|
||||
$element->addAttribute($attr_key, $attr_value ?? '', $namespace);
|
||||
}
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue