Skip to content
Snippets Groups Projects
Commit 1080e6c0 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed bug 4722.  Patch by James.
parent 77a0d99c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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)),
......
......@@ -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)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment