Commit f7fa816f authored by dman's avatar dman Committed by yukare

Issue #2347413 by dman: Strict warning : Only variables should be passed by reference

parent aa5ddcc2
......@@ -84,7 +84,8 @@ function theme_lightbox2_image($variables) {
);
$entity = entity_load('file', array($item['fid']));
$entity = $entity[$item['fid']];
$rel.=drupal_render(field_view_field('file', $entity, $caption, $caption_display));
$renderable_field = field_view_field('file', $entity, $caption, $caption_display);
$rel .= drupal_render($renderable_field);
break;
}
......
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