|
@@ -147,7 +147,8 @@ |
|
|
block discarded – undo |
|
147
|
147
|
* @param \SimpleXMLElement $from |
|
148
|
148
|
* @return void |
|
149
|
149
|
*/ |
|
150
|
|
- private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from) { |
|
|
150
|
+ private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from) |
|
|
151
|
+ { |
|
151
|
152
|
$toDom = dom_import_simplexml($to); |
|
152
|
153
|
$fromDom = dom_import_simplexml($from); |
|
153
|
154
|
$toDom->appendChild($toDom->ownerDocument->importNode($fromDom, true)); |
Please login to merge, or discard this patch.