Commit aedaf116 authored by alexpott's avatar alexpott

Issue #2080559 by izus, connork, eugenesia, InternetDevels, Rajesh Ashok,...

Issue #2080559 by izus, connork, eugenesia, InternetDevels, Rajesh Ashok, mrsinguyen: Remove unused local variables from the translation module.
parent c1ca6224
......@@ -155,7 +155,7 @@ function content_translation_entity_base_field_info_alter(&$fields, EntityTypeIn
// make it per-instance instead. In that case, we will need to implement
// hook_bundle_field_info_alter() instead.
$field_settings = array();
foreach ($translation_settings as $bundle => $settings) {
foreach ($translation_settings as $settings) {
$field_settings += !empty($settings['content_translation']['fields']) ? $settings['content_translation']['fields'] : array();
}
......
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