Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2010 at 01:42 UTC
Updated:
15 Mar 2010 at 11:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedComment #2
marvil07 commentedmaybe
!emptyinstead ofisset, but it worksComment #3
mikeytown2 commentedempty works for me :)
Tested on a site that was producing this error and patch makes it go away.
Comment #4
gábor hojtsyBugs are fixed in Drupal 7 first. The function is identical, so the patch should apply to D7 just fine (and looks good).
Comment #5
dries commentedCan't we remove
&& $account->languagewith the extraisset()?Comment #6
gábor hojtsyYup, the !empty() should already cover that. Looks like a pretty trivial change.
Comment #7
dries commentedCommitted to D7. Moving to D6.
Comment #8
gábor hojtsyCommitted to Drupal 6 as well.