summaryrefslogtreecommitdiff
path: root/modules/blogapi
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blogapi')
-rw-r--r--modules/blogapi/blogapi.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index 3fe48489e..1a4e8f6b7 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -233,7 +233,7 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont
return blogapi_error($user);
}
- $node = node_load(array('nid' => $postid));
+ $node = node_load('nid' => $postid);
if (!$node) {
return blogapi_error(message_na());
}
@@ -330,7 +330,7 @@ function blogapi_metaweblog_get_post($postid, $username, $password) {
return blogapi_error($user);
}
- $node = node_load(array('nid' => $postid));
+ $node = node_load('nid' => $postid);
return _blogapi_get_post($node, true);
}
@@ -469,7 +469,7 @@ function blogap_mti_publish_post($postid, $username, $password) {
if (!$user->uid) {
return blogapi_error($user);
}
- $node = node_load(array('nid' => $postid));
+ $node = node_load('nid' => $postid);
if (!$node) {
return blogapi_error(t('Invalid post.'));
}