Problem/Motivation

Code checks if entity type is a node and set node_id.
However, if it's not a node, node_id is not set, which gives an error.

Proposed resolution

Set $node_id to NULL.

CommentFileSizeAuthor
#1 lightbox2-node_id_fix-2155981-1.patch350 bytestripox

Comments

tripox’s picture

StatusFileSize
new350 bytes
tripox’s picture

Status: Active » Needs review
tlyngej’s picture

Status: Needs review » Reviewed & tested by the community

Reviewed.

Look OK to me.