- Fixed bug 4722. Patch by James.

4.4.x
Dries Buytaert 2003-12-22 11:28:07 +00:00
parent 77a0d99c86
commit 1080e6c04b
2 changed files with 10 additions and 0 deletions

View File

@ -36,6 +36,11 @@ function blogapi_xmlrpc() {
function blogapi_get_users_blogs($req_params) {
$params = blogapi_convert($req_params);
// Remove unused appkey from bloggerAPI.
if (count($params) == 6) {
$params = array_slice($params, 1);
}
$user = blogapi_validate_user($params[1], $params[2]);
if ($user->uid) {
$struct = new xmlrpcval(array('url' => new xmlrpcval(url('blog/' . $user->uid)),

View File

@ -36,6 +36,11 @@ function blogapi_xmlrpc() {
function blogapi_get_users_blogs($req_params) {
$params = blogapi_convert($req_params);
// Remove unused appkey from bloggerAPI.
if (count($params) == 6) {
$params = array_slice($params, 1);
}
$user = blogapi_validate_user($params[1], $params[2]);
if ($user->uid) {
$struct = new xmlrpcval(array('url' => new xmlrpcval(url('blog/' . $user->uid)),