Commit 19bbfe40 authored by frjo's avatar frjo
Browse files

#770146: Patch by recrit to fix bug with image module setting.

parent 852f33fe
......@@ -47,11 +47,8 @@ function colorbox_admin_settings() {
$form['colorbox_image_module']['colorbox_auto_image_nodes'] = array(
'#type' => 'select',
'#title' => t('Image node setting'),
'#options' => array(
'disabled' => t('Disabled'),
'colorbox' => t('Colorbox'),
),
'#default_value' => variable_get('colorbox_auto_image_nodes', 'disabled'),
'#options' => array(0 => t('Disabled'), 1 => t('Colorbox')),
'#default_value' => variable_get('colorbox_auto_image_nodes', 0),
'#description' => t('Select if Colorbox should be activated for the Image module.'),
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment