Commit 9b801516 authored by webchick's avatar webchick
Browse files

Issue #2081185 by undertext | mrsinguyen: Remove Unused local variable from...

Issue #2081185 by undertext | mrsinguyen: Remove Unused local variable  from /lib/Drupal/entity_reference()/Plugin/field/formatter/EntityReferenceFormatterBase.php.
parent c8d86baa
......@@ -31,7 +31,7 @@ public function prepareView(array $entities, $langcode, array $items) {
// Collect every possible entity attached to any of the entities.
foreach ($entities as $id => $entity) {
foreach ($items[$id] as $delta => $item) {
foreach ($items[$id] as $item) {
if (!empty($item->revision_id)) {
$revision_ids[] = $item->revision_id;
}
......
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