mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:50:11 +00:00
Bugfix: XML copy had problems with "&"
This commit is contained in:
parent
2898749cc6
commit
357c48076d
2 changed files with 7 additions and 7 deletions
|
@ -62,7 +62,7 @@ class xml {
|
|||
|
||||
function copy(&$source, &$target, $elementname) {
|
||||
if (count($source->children()) == 0)
|
||||
$target->addChild($elementname, $source);
|
||||
$target->addChild($elementname, xmlify($source));
|
||||
else {
|
||||
$child = $target->addChild($elementname);
|
||||
foreach ($source->children() AS $childfield => $childentry)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue