Commit afcb959f authored by dsnopek's avatar dsnopek Committed by Renato Gonçalves H
Browse files

Issue #3120382 by dsnopek, DamienMcKenna, RenatoG: Notice: Undefined index:...

Issue #3120382 by dsnopek, DamienMcKenna, RenatoG: Notice: Undefined index: title in link_field_load() (line 310 of link.module)
parent bb9b0faf
......@@ -315,7 +315,7 @@ function link_field_load($entity_type, $entities, $field, $instances, $langcode,
foreach ($entities as $id => $entity) {
foreach ($items[$id] as $delta => $item) {
$items[$id][$delta]['attributes'] = _link_load($field, $item, $instances[$id]);
$items[$id][$delta]['original_title'] = $item['title'];
$items[$id][$delta]['original_title'] = isset($item['title']) ? $item['title'] : NULL;
$items[$id][$delta]['original_url'] = $item['url'];
}
}
......
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