Skip to content

Commit 351a43c

Browse files
Fix typo in form check
1 parent 758a85a commit 351a43c

File tree

1 file changed

+1
-1
lines changed
  • src/collective/volto/formsupport/adapters

1 file changed

+1
-1
lines changed

src/collective/volto/formsupport/adapters/post.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def get_block_data(self, block_id, global_form_id):
9696
return {}
9797
for id, block in blocks.items():
9898
# Prefer local forms it they're available, fall back to global form
99-
if id != block_id and id != global_form_id and block.get("global_form_id" != global_form_id):
99+
if id != block_id and id != global_form_id and block.get("global_form_id") != global_form_id:
100100
continue
101101
block_type = block.get("@type", "")
102102
if block_type != "form":

0 commit comments

Comments
 (0)