- Patch #639704 by casey: removed dead code from form_process_date().
parent
cbe0991d7e
commit
c881694eb4
|
@ -1937,8 +1937,7 @@ function form_process_date($element) {
|
|||
$options = drupal_map_assoc(range(1900, 2050));
|
||||
break;
|
||||
}
|
||||
$parents = $element['#parents'];
|
||||
$parents[] = $type;
|
||||
|
||||
$element[$type] = array(
|
||||
'#type' => 'select',
|
||||
'#value' => $element['#value'][$type],
|
||||
|
|
Loading…
Reference in New Issue