aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/xml.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/xml.php')
-rw-r--r--engine/lib/xml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/xml.php b/engine/lib/xml.php
index 55ea1b5ad..813bc4ee0 100644
--- a/engine/lib/xml.php
+++ b/engine/lib/xml.php
@@ -127,8 +127,8 @@ function xml_to_object($xml) {
if ($tag['type'] == "complete" || $tag['type'] == "open") {
$elements[$index] = new XmlElement;
$elements[$index]->name = $tag['tag'];
- $elements[$index]->attributes = elgg_get_array_value('attributes', $tag, '');
- $elements[$index]->content = elgg_get_array_value('value', $tag, '');
+ $elements[$index]->attributes = elgg_extract('attributes', $tag, '');
+ $elements[$index]->content = elgg_extract('value', $tag, '');
if ($tag['type'] == "open") {
$elements[$index]->children = array();