The $node variable isn't initialized before being used in the theme() function.

I added

$node = '';

To initialize it but at the same time not trip the validation checks later on in the flag_lists_list function.

See the attached patch.

CommentFileSizeAuthor
#1 uninitialized_node-1101894.patch981 bytesminoroffense

Comments

minoroffense’s picture

StatusFileSize
new981 bytes
awolfey’s picture

Status: Active » Fixed

It's a bit easier to just pass NULL. Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.