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.
#programed should be #programmed in _form_builder_handle_input_element()
Comment | File | Size | Author |
---|---|---|---|
form_builder_typo.patch | 709 bytes | marcp | |
Comments
Comment #1
asimmonds CreditAttribution: asimmonds commentedI think this exposes another bug, that is this if() statement will never be true.
_form_builder_handle_input_element() is called from form_builder() if #input is true, so a test for #type='form' will always be false as a form does not have #input=TRUE
Comment #2
nedjoCan you point to all other instances of either #programmed or #programed to ensure that this is the only error?
Comment #3
nedjoI should have done that myself instead of updating the issue.
Yes, this is the only occurrence of the typo. This should be committed. The other issue identified can be addressed separately.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
(not verified) CreditAttribution: commented