Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
315
Merge Requests
315
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
77a0d99c
Commit
77a0d99c
authored
Dec 20, 2003
by
Kjartan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed bug
#4722
: blogger.newPost not working. Patch by James Walker.
parent
c96a130e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
modules/blogapi.module
modules/blogapi.module
+6
-0
modules/blogapi/blogapi.module
modules/blogapi/blogapi.module
+6
-0
No files found.
modules/blogapi.module
View file @
77a0d99c
...
...
@@ -73,6 +73,12 @@ function blogapi_get_user_info($req_params) {
function
blogapi_new_post
(
$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
)
{
return
blogapi_error
(
$user
);
...
...
modules/blogapi/blogapi.module
View file @
77a0d99c
...
...
@@ -73,6 +73,12 @@ function blogapi_get_user_info($req_params) {
function
blogapi_new_post
(
$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
)
{
return
blogapi_error
(
$user
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment