- Typo after node_load simplification patch
parent
b7c0975e23
commit
6978fcb6ec
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue