Closed (fixed)
Project:
Drupal core
Component:
profile.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2006 at 17:29 UTC
Updated:
24 Jan 2006 at 15:13 UTC
Well, it took me to add 18 fields to the profile until this weird bug popped up. There is an old piece of code from May 12 (probably used for debugging) in profile.module that creates this problem. Somebody really did not like numbers 18,19 and 20 :)
if ($field->fid == 18 || $field->fid == 19 || $field->fid == 20) {
return;
}
The patch also fixes a small bug in displaying the user fields (should be ordered by category, then weight, not just weight).
Comments
Comment #1
darius commentedFYI, the offending lines appeared in version 1.97: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/profile.module?r1=1....
Comment #2
chx commentedCongrats. This however tells us a lot on the review rate of profile modue...
Comment #3
dries commentedOops. Committed to HEAD. Thanks.
Comment #4
dries commented