From 6978fcb6ec1d8ca85c40d8ca8d28d926099d5cba Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Sun, 17 Jul 2005 23:44:47 +0000 Subject: - Typo after node_load simplification patch --- modules/blogapi.module | 2 +- modules/blogapi/blogapi.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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()); } -- cgit v1.2.3