Download & Extend

Try to assign a non existing variable in form_alter

Project:Popups: Add and Reference
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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']).

AttachmentSize
popups_reference.patch733 bytes