#programed should be #programmed in _form_builder_handle_input_element()

CommentFileSizeAuthor
form_builder_typo.patch709 bytesmarcp
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asimmonds’s picture

I 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

nedjo’s picture

Can you point to all other instances of either #programmed or #programed to ensure that this is the only error?

nedjo’s picture

Status: Needs review » Reviewed & tested by the community

I 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.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)