Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: merlinofchaos commentedCommitted! Thanks!