Commit 1f6790dd authored by yched's avatar yched

#829670 - fix fatal error in 5.11 relases

parent ff5a570e
......@@ -189,7 +189,7 @@ function nodereference_field_formatter($field, $item, $formatter, $node) {
$titles[$item['nid']] = $title ? $title : '';
}
}
if (empty($titles[$item['nid']]) {
if (empty($titles[$item['nid']])) {
return '';
}
switch ($formatter) {
......
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