Skip to content
Snippets Groups Projects
Commit fe244316 authored by Vikas Shishodia's avatar Vikas Shishodia
Browse files

Revert: Fixing error with link field with limited cardinality.

parent 46a6958a
No related branches found
No related tags found
No related merge requests found
......@@ -67,8 +67,8 @@ class FieldProducerPlugin extends DataProducerPluginBase implements FieldProduce
}
$results = [];
if (!empty($result = $this->resolveFieldItem($item, $context))) {
$results[] = $result;
foreach ($field as $item) {
$results[] = $this->resolveFieldItem($item, $context);
}
return $results;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment