diff --git a/modules/system/system.module b/modules/system/system.module index a35d5480e93dbf237a800d0efee73ad992d61d01..59a13ee1d3ab48c9d6c42e999283e2f664535b03 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -115,7 +115,7 @@ function system_elements() { $type['checkbox'] = array('#input' => TRUE, '#return_value' => 1); $type['select'] = array('#input' => TRUE, '#size' => 0, '#multiple' => FALSE); $type['weight'] = array('#input' => TRUE, '#delta' => 10, '#default_value' => 0, '#process' => array('process_weight')); - $type['date'] = array('#input' => TRUE, '#process' => array('expand_date' => array()), '#element_validate' => array('date_validate')); + $type['date'] = array('#input' => TRUE, '#process' => array('expand_date'), '#element_validate' => array('date_validate')); $type['file'] = array('#input' => TRUE, '#size' => 60); // Form structure