Closed (fixed)
Project:
LoginToboggan
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2009 at 18:16 UTC
Updated:
25 Oct 2009 at 19:00 UTC
As mentioned in the title, the hook_user gets an empty array when called for op login when it is called when a user is logged in immediately after registration.
I have traced this to the function logintoboggan_process_login that gives an uninitialized variable $edit to the module_invoke function.
Comments
Comment #1
hunmonk commentedthere are two uses of logintoboggan_process_login() in the module -- the other is for email validation links, and that wouldn't include any submitted form data.
attached patch fixes this issue for the registration form -- applied to 5.x-1.x-dev, 6.x-1.x-dev, and HEAD. check here for the code changes to:
http://drupal.org/cvs?commit=273664