summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-06-08 23:49:29 (GMT)
committerAlex Pott2014-06-08 23:49:29 (GMT)
commitaedaf116642a1416523edf4ecb66c44898231fae (patch)
treee2587ed1fe7635687481e7ebf8ab86aec597e463
parentc1ca622460a914a0a8b4d9aed57d669d8f10c76a (diff)
Issue #2080559 by izus, connork, eugenesia, InternetDevels, Rajesh Ashok, mrsinguyen: Remove unused local variables from the translation module.
-rw-r--r--core/modules/content_translation/content_translation.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module
index db3ae7a..e1949c2 100644
--- a/core/modules/content_translation/content_translation.module
+++ b/core/modules/content_translation/content_translation.module
@@ -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();
}