Skip to content
Snippets Groups Projects
Commit 6c48c665 authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

Issue #3487819 by grimreaper, pdureau: Links prop type normalization: empty item

parent d2ca5776
Branches
Tags
1 merge request!264Issue #3487819 by grimreaper, pdureau: Links prop type normalization: empty item
Pipeline #340213 passed
......@@ -99,6 +99,9 @@ class LinksPropType extends PropTypePluginBase implements ContainerFactoryPlugin
unset($value[$index]);
continue;
}
if (empty($item)) {
continue;
}
if (!isset($item["title"])) {
$item["title"] = (string) $index;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment