Download & Extend

node_load() returns null

Project:Views Embed Form
Version:6.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I created a form and embed the form into the view using hook_views_embed_form. Then in the hook_row_form_submit I call node_load($nid) function. The function returns NULL. at the same time when I call the same function node_load($nid) from outside the view (on the same page, but before view is rendered) the fully populated $node object returned. The registered user has all permission to create/edit the node type I trying to invoke. Please advice

nobody click here