Closed (fixed)
Project:
LoginToboggan
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 May 2010 at 16:26 UTC
Updated:
3 Jan 2014 at 01:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hunmonk commentedComment #2
1sp commentedThe $form['_account']['#value'] does contains the desired user object. so no need of explicit user_load.
Attaching an alternate patch.
Comment #3
hunmonk commentedis there a $form['#account'] in the form array there? if so, i believe that's the one we'd want to use.
Comment #4
1sp commentedI couldn't find $form['#account'] in the form array, there is only $form['_account'] as stated earlier in http://drupal.org/node/803422#comment-2993182
Comment #5
hunmonk commentedno need to cast _account to an object -- it's always created as one by core.
patch tests out well. committed to 5.x-1.x-dev and 6.x-1.x-dev -- 7.x does not have this issue.