Fix XML deprecation
This commit is contained in:
parent
f693032109
commit
00cd346255
|
@ -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 New Issue
Block a user