When accessing Forward block configuration page, warnings for form.inc at line 15xx line are displayed (_form_set_class function).
This is because of the line 660 in the forward.module. '#attribute' must be an array (in the module it can be ommited).

Original code:

    $form['forward_block_type'] = array(
        '#type' => 'radios',
        '#title' => t('Block Type'),
        '#default_value' => variable_get('forward_block_type', " "),
        '#options' => $block_options,
        '#description' => t('Choose the block type'),
        '#required' => null,
        '#attributes' => true,
    );

Resulting code:

    $form['forward_block_type'] = array(
        '#type' => 'radios',
        '#title' => t('Block Type'),
        '#default_value' => variable_get('forward_block_type', " "),
        '#options' => $block_options,
        '#description' => t('Choose the block type'),
    );

Comments

seanr’s picture

Status: Active » Fixed

This has since been fixed, though you'll need to pull the 5.x-dev version. There won't be a new 5.x-1.x release for a few days due to some ongoing work.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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