When a variant has no context, there is no form element for 'substitute' added in ctools_custom_content_type_edit_form().
So when ctools_custom_content_type_edit_form_submit() checks for each of the defaults, it throws an undefined index error.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ctools-1468928-1.patch | 665 bytes | dead_arm |
Comments
Comment #1
dead_armIf the key isn't in the submitted values, use the defaults.
Comment #2
tim.plunkettLooks good from here.
Comment #3
merlinofchaos commentedCommitted! Thanks!