diff --git a/core/modules/taxonomy/taxonomy.install b/core/modules/taxonomy/taxonomy.install index 3b2679a081..eaeb84edcb 100644 --- a/core/modules/taxonomy/taxonomy.install +++ b/core/modules/taxonomy/taxonomy.install @@ -14,7 +14,6 @@ function taxonomy_update_last_removed() { return 8702; } - /** * Add 'langcode' field to 'taxonomy_index' entities. * diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index 944b16364c..ec4ba53495 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -338,7 +338,7 @@ function taxonomy_build_node_index($node) { foreach ($tid_all as $tid_info) { foreach ($tid_info as $langcode => $tid) { $connection->merge('taxonomy_index') - ->key(['nid' => $node->id(), 'tid' => $tid, 'status' => (int) $node->getTranslation($langcode)->isPublished(), 'langcode' => $langcode]) + ->key(['nid' => $node->id(), 'tid' => $tid, 'status' => (int) $node->getTranslation($langcode)->isPublished(), 'langcode' => $langcode]) ->fields(['sticky' => $sticky, 'created' => $node->getCreatedTime()]) ->execute(); }