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.
function ctools_jump_menu($form_state, $select, $options = array()) {
should be:
function ctools_jump_menu($form, &$form_state, $select, $options = array()) {
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
ctools_jump-menu.inc_.patch | 476 bytes | troky |
Comments
Comment #1
troky CreditAttribution: troky commentedComment #2
sven.lauer CreditAttribution: sven.lauer commentedI ran across this bug yesterday (and posted a duplicate issue (duh!)). It renders the jump menu completely unusable (as the form builder takes the settings array to be the option array).
The patch is straightforward and the need for it well-documented: http://drupal.org/update/modules/6/7#hook_forms_signature
Comment #3
troky CreditAttribution: troky commentedany chance to fix this soon (or commit the patch)?
thanks
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted!
Comment #6
troky CreditAttribution: troky commentedI don't see this is fixed in cvs.
Comment #7
EclipseGc CreditAttribution: EclipseGc commentedPatch still applies and seems to fix the problems with the jump menu.
Comment #8
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted for real.