Closed (fixed)
Project:
Email Registration
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 May 2011 at 15:09 UTC
Updated:
26 May 2011 at 17:16 UTC
When I pass a parameter on the URL for example user/register?anything=anything it does not recognize the $form_id.
The user name field still shows up.
Comments
Comment #1
salientknight commentedwith test code I ruled out $form_id as the cause, but the module still fails to work if I pass arguments on the URL.
user/register works but even user/register? keeps the code from working.
Comment #2
salientknight commentedI found the problem:
Changing the code:
to
Made the problem go away for me. I guess Putting an argument on the URL causes this line to return true: if (isset($form['account']) && is_array($form['account'])) but the user-register.tpl.php uses $form['name'] not $form['account']['name']
I hope this helps someone else....