Commit 0da88e6d authored by yched's avatar yched

minor - collapse 'default value php code' if empty

parent 2b5c3b0d
......@@ -945,7 +945,7 @@ function _content_admin_field($type_name, $field_name) {
'#type' => 'fieldset',
'#title' => t('Php code'),
'#collapsible' => TRUE,
'#collapsed' => !isset($field['widget']['default_value_php']),
'#collapsed' => empty($field['widget']['default_value_php']),
);
$db_info = content_database_info($field);
$columns = array_keys($db_info['columns']);
......
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