Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
I have this form where there is a page break included, if you press "Next Page >" the user will see this PHP warning message:
"Warning: Invalid argument supplied for foreach() in _table_element_validate() (line 224 of /var/www/volcanoes/sites/all/modules/webform_table_element/webform_table_element.module)."
This will happen if you had an empty table in your form.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform_table_element-adding_isset_to_remove_warning_message-2302687.patch | 701 bytes | issa.haddadin |
Comments
Comment #1
issa.haddadin CreditAttribution: issa.haddadin commentedHere is a patch, i just added a simple
isset()
Thanks.
Comment #2
issa.haddadin CreditAttribution: issa.haddadin commentedComment #3
issa.haddadin CreditAttribution: issa.haddadin commentedComment #4
issa.haddadin CreditAttribution: issa.haddadin commentedComment #5
issa.haddadin CreditAttribution: issa.haddadin commentedComment #6
Jochen Wendebaum CreditAttribution: Jochen Wendebaum commentedI can confirm that this is working and think that it should be pushed into dev.