$form['#node']->nid is not valid on the node/add form, and is throwing this error:
Notice: Undefined property: stdClass::$nid in flag_friend_access_form_alter() (line 53 of /path/to/drupal/sites/all/modules/flag_friend/flag_friend_access/flag_friend_access.module).
Attached patch fixes it.
| Comment | File | Size | Author |
|---|---|---|---|
| flag_friend_access_node_add_error.patch | 724 bytes | shawn dearmond |
Comments
Comment #1
tr33m4n commentedCan confirm this patch fixed this issue
Cheers
Comment #2
sirkitree commented