diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blogapi.module | 2 | ||||
-rw-r--r-- | modules/blogapi/blogapi.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module index df376580f..e8a2009cb 100644 --- a/modules/blogapi.module +++ b/modules/blogapi.module @@ -233,7 +233,7 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont return blogapi_error($user); } - $node = node_load('nid' => $postid); + $node = node_load($postid); if (!$node) { return blogapi_error(message_na()); } diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index df376580f..e8a2009cb 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('nid' => $postid); + $node = node_load($postid); if (!$node) { return blogapi_error(message_na()); } |