Closed (fixed)
Project:
Forward
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2007 at 20:21 UTC
Updated:
12 Nov 2007 at 22:42 UTC
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
Comment #1
seanrThis 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.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.