Property $node->og_files_enabled is set to TRUE in hook_nodeapi(), but it is not interpreted and populated the right way in hook_form_alter(), so it wipes corresponding record in {og_files} when node is edited.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | og_files_fix-og_files_enabled-field.patch | 1.66 KB | develcuy |
Comments
Comment #1
develcuy commentedThis patch fixes og_files_enabled field definition in hook_form_alter and adds a description with notice to warn user.
It also removes isset() check in hook_nodeapi since it is not needed.
Blessings!
Comment #2
develcuy commentedComment #3
develcuy commented