aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-05 03:27:38 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-05 03:27:38 +0000
commitd1e9be283bb752900effceefcbe6c50091db3325 (patch)
tree40a1f3e85146c71ba7a4ad6def06e45719580782
parent2cd3ef9e9b25a9166b6c816d622f593a41256898 (diff)
downloadelgg-d1e9be283bb752900effceefcbe6c50091db3325.tar.gz
elgg-d1e9be283bb752900effceefcbe6c50091db3325.tar.bz2
Fixes #1319: Applied patch for missing xml-rpc <value> tag.
git-svn-id: http://code.elgg.org/elgg/trunk@3904 36083f99-b078-4883-b0ff-0f9b5a30f544
-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
+?>