aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/xml-rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/xml-rpc.php')
-rw-r--r--engine/lib/xml-rpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/xml-rpc.php b/engine/lib/xml-rpc.php
index 9c59b1deb..7c369edc1 100644
--- a/engine/lib/xml-rpc.php
+++ b/engine/lib/xml-rpc.php
@@ -258,7 +258,7 @@
$params .= "<member><name>$k</name>$v</member>";
}
- return "<struct>$params</struct>";
+ return "<value><struct>$params</struct></value>";
}
}
@@ -554,4 +554,4 @@
page_draw($exception->getMessage(), elgg_view("xml-rpc/output", array('result' => new XMLRPCErrorResponse($exception->getMessage(), $exception->getCode()==0 ? -32400 : $exception->getCode()))));
}
-?> \ No newline at end of file
+?>