The return value of _ctools_context_selector() function is not coherent (it can return form element array or nothing). This leads to broken form data which generate warnings when element_children() is called for such form elements. The patch solves this: _ctools_context_selector() returns array in any case.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maximpodorov’s picture

Issue summary: View changes
FileSize
538 bytes

The patch file name is changed.

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Nice fix

japerry’s picture

Status: Reviewed & tested by the community » Fixed

Easy fix. Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.