Skip to content

Commit

Permalink
Fix some global forms not sending data
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Feb 4, 2025
1 parent 1053f5f commit 758a85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collective/volto/formsupport/adapters/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_block_data(self, block_id, global_form_id):
return {}
for id, block in blocks.items():
# Prefer local forms it they're available, fall back to global form
if id != block_id and id != global_form_id:
if id != block_id and id != global_form_id and block.get("global_form_id" != global_form_id):
continue
block_type = block.get("@type", "")
if block_type != "form":
Expand Down

0 comments on commit 758a85a

Please sign in to comment.