Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2005 at 20:33 UTC
Updated:
19 Nov 2005 at 13:37 UTC
There is a typo bug in expand_date() that shows date selection fields as radios (you can test it by creating a user profile with a 'date' field). Also, comments (documentation) above expand_date() and theme_date functions are wrong. The patch changes 'radio' to 'select'.
Darius
Comments
Comment #1
pfaocleConfirmed here too, attempting to use a date form element in archive.module. The patch seems to fix it, but there is a problem if profile.module is disabled. In line 496 of forms.inc:
_profile_map_month() doesn't return anything if the profile module is disabled, resulting in a broken date form element. Should we be relying on an optional module in a core API?
Comment #2
moshe weitzman commentedwebcheick has a patch in ready to commit which fixes this.