Closed (cannot reproduce)
Project:
Webform
Version:
6.x-3.17
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2012 at 21:50 UTC
Updated:
17 Feb 2014 at 21:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
scottalan commentedFull Notice: Undefined index: in webform_component_include() (line 3318 of /mnt/apci/main/www/sites/all/modules/contrib/webform/webform.module).
patch attached.
Comment #2
quicksketchCould 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.
Comment #3
scottalan commentedsorry 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
Comment #4
quicksketchComment #5
quicksketchClosing after lack of activity. Please reopen if you can provide more information on reproducing.