ilrWebServices/ilr-website — pull request #16 by carolineHecht (2014-06-13 20:17:35+00:00)
Title: switches to hook_form_BASE_FORM_ID_alter (forms_form_entityform_edit_for...

The only change is to use hook_form_BASE_FORM_ID_alter instead of hook_form_alter, which contained an if stmt to check if an entityform was being rendered. The check we had was array_key_exists('entityform', $form_state), but that was true for delete submission, for example, and then the code generated errors, because #bundle didn't exist.