Commit 4757f783 authored by yukare's avatar yukare

Issue #1319380 by Yukare: Notice: Undefined variable: node_id in lightbox2_field_formatter_view()

parent 000ef728
......@@ -960,6 +960,9 @@ function lightbox2_field_formatter_view($entity_type, $entity, $field, $instance
if ($entity_type == 'node') {
$node_id = $entity->nid;
}
else {
$node_id = 0;
}
foreach ($items as $delta => $item) {
......
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