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.
At the moment the way the Edit (configuration) forms for blocks works is that if the defining module implements the homebox_block_edit_form hook then it will render a form, regardless of whether the modules implementation of the hook has logic the only returns forms for certain deltas, this means if a multiple deltas are in use on Homebox and only one of them is actually defining a form, that both of them will have a form rendered regardless, the second being just a button.
Following patch adds a check before rending the form to see if the form is actually populated or not.
Comment | File | Size | Author |
---|---|---|---|
#1 | empty_edit_form-1781742-1.patch | 1.59 KB | Deciphered |
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commentedPatch
Comment #2
drummThis looks like it has been fixed in the D7 version.