The code $node = $form['#node'] assigns the variable $form['#node'] without checking if this variable exists.

I just modify the test isset($form['type']) before and added to it the test isset($form['#node']).

CommentFileSizeAuthor
popups_reference.patch733 bytesb-prod