summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-07-16 06:33:44 +0000
committerDries Buytaert <dries@buytaert.net>2007-07-16 06:33:44 +0000
commit409d57ca5a533a2927966b4d38655464c99a9e4e (patch)
tree46bcf872c0a445329066abe6d6164fb2b02c3e03 /modules/system/system.module
parent6993ea05b768fd0cdbc99e14e177e1ca3b3a9904 (diff)
downloadbrdo-409d57ca5a533a2927966b4d38655464c99a9e4e.tar.gz
brdo-409d57ca5a533a2927966b4d38655464c99a9e4e.tar.bz2
- Pach #154216 by asimmonds and Rok Zlender: FormAPI date element broken.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index a35d5480e..59a13ee1d 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