summaryrefslogtreecommitdiff
path: root/modules/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-05-16 09:22:36 +0000
committerDries Buytaert <dries@buytaert.net>2006-05-16 09:22:36 +0000
commit3d38b57220a6302f34d31b332c1b680569493ab9 (patch)
tree7c35a1a4d40bfeec3569d4ca3efbd47e854924b4 /modules/system.module
parent2d9eaf01cf87f56f5b159ac25c588097316dd74f (diff)
downloadbrdo-3d38b57220a6302f34d31b332c1b680569493ab9.tar.gz
brdo-3d38b57220a6302f34d31b332c1b680569493ab9.tar.bz2
- Patch #41481 by Zen, Cvbge, sun et al: bugfix: duplicate key error while editing locale strings.
Diffstat (limited to 'modules/system.module')
-rw-r--r--modules/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system.module b/modules/system.module
index 17aa467bc..be43aace4 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -73,7 +73,7 @@ function system_elements() {
$type['checkboxes'] = array('#input' => TRUE, '#process' => array('expand_checkboxes' => array()), '#tree' => TRUE);
$type['select'] = array('#input' => TRUE);
$type['weight'] = array('#input' => TRUE, '#delta' => 10, '#default_value' => 0, '#process' => array('process_weight' => array()));
- $type['date'] = array('#input' => TRUE, '#process' => array('expand_date' => array()));
+ $type['date'] = array('#input' => TRUE, '#process' => array('expand_date' => array()), '#validate' => array('date_validate' => array()));
$type['file'] = array('#input' => TRUE, '#size' => 60);
// Form structure