Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2008 at 20:22 UTC
Updated:
19 Nov 2008 at 14:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damien tournoud commentedHere is a patch for this. I'm also working on a test.
Comment #2
Anonymous (not verified) commentedUsing unset on a static variable only ``unsets'' the variable from the point of the unset. The values prior to the unset still exist. This patch provides the intended behavior.
Comment #3
drewish commentedi found earnie's explanation unclear. the php.net docs for unset() helped me understand the problem:
Comment #4
gábor hojtsyAgreed that this looks RTBC, awaiting Drupal 7 commit to commit to Drupal 6.
Comment #5
dries commentedGood catch. Ideally, we would have written a test for this though...
Committed to CVS HEAD and DRUPAL-6. Thanks.