Check $form_state's value isn't empty in filefield_node_form_validate().
| Comment | File | Size | Author |
|---|---|---|---|
| filefield_widget_0_check_form_state.patch | 791 bytes | amitaibu |
Check $form_state's value isn't empty in filefield_node_form_validate().
| Comment | File | Size | Author |
|---|---|---|---|
| filefield_widget_0_check_form_state.patch | 791 bytes | amitaibu |
Comments
Comment #1
bchoc commentedIs 'empty' necessary? Is the $form_state['values'][$field_name] known to be defined at this time, is it just for readability?
Regardless, I'm testing this patch as it looks like it will address that annoying error message nicely.
Comment #2
akolahi commentedpatch worked for me :D
Comment #3
quicksketchThanks, committed to HEAD.
Comment #4
elcuco commentedI confirm that this patch works for me as well ;-)