- Patch #639704 by casey: removed dead code from form_process_date().

merge-requests/26/head
Dries Buytaert 2009-11-22 18:27:11 +00:00
parent cbe0991d7e
commit c881694eb4
1 changed files with 1 additions and 2 deletions

View File

@ -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],