diff options
Diffstat (limited to 'engine/lib/xml.php')
| -rw-r--r-- | engine/lib/xml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/xml.php b/engine/lib/xml.php index 4f1ae76a9..497459d83 100644 --- a/engine/lib/xml.php +++ b/engine/lib/xml.php @@ -104,8 +104,8 @@ function serialise_array_to_xml(array $data, $n = 0) { * * @param string $xml The XML * - * @return object + * @return ElggXMLElement */ function xml_to_object($xml) { - return new XmlElement($xml); + return new ElggXMLElement($xml); } |
