aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/xml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/xml.php b/engine/lib/xml.php
index 4f1ae76a9..ff82d7e8a 100644
--- a/engine/lib/xml.php
+++ b/engine/lib/xml.php
@@ -107,5 +107,5 @@ function serialise_array_to_xml(array $data, $n = 0) {
* @return object
*/
function xml_to_object($xml) {
- return new XmlElement($xml);
+ return new ElggXMLElement($xml);
}