Commit 8301e5e5 authored by joelstein's avatar joelstein Committed by Renato Goncalves H
Browse files

Issue #2894132 by joelstein, dtamajon, RgnYLDZ, RenatoG: Notice: Undefined...

Issue #2894132 by joelstein, dtamajon, RgnYLDZ, RenatoG: Notice: Undefined index: translate en field_collection_field_formatter_settings_form()
parent b3de87ab
......@@ -814,7 +814,7 @@ function field_collection_field_formatter_settings_form($field, $instance, $view
$elements['translate'] = array(
'#type' => 'textfield',
'#title' => t('Translate link title'),
'#default_value' => $settings['translate'],
'#default_value' => isset($settings['translate']) ? $settings['translate'] : '',
'#description' => t('Leave the title empty, to hide the link.'),
'#access' => field_collection_item_is_translatable(),
);
......
Supports Markdown
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