I'll attach a patch to clear the error.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scottalan’s picture

Full Notice: Undefined index: in webform_component_include() (line 3318 of /mnt/apci/main/www/sites/all/modules/contrib/webform/webform.module).

patch attached.

quicksketch’s picture

Could you describe how to reproduce this error?

This patch looks like it would totally break webform. Instead of returning an array of information into the $info variable, you're now returning boolean TRUE or FALSE.

scottalan’s picture

sorry about that... I reversed the patch and I'm still cleaning up notices in our codebase, so when I see it come across again I'll take a screen shot of what the array structure looks like.

should have been: $info = !empty($components[$component_type]) ? $components[$component_type] : array();

I'll post back when I have more info.

thanks

quicksketch’s picture

Status: Active » Postponed (maintainer needs more info)
quicksketch’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing after lack of activity. Please reopen if you can provide more information on reproducing.