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.

Comments

develcuy’s picture

StatusFileSize
new1.66 KB

This 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!

develcuy’s picture

Status: Active » Needs review
develcuy’s picture

Assigned: develcuy » Unassigned
Issue summary: View changes