From 3d38b57220a6302f34d31b332c1b680569493ab9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 16 May 2006 09:22:36 +0000 Subject: - Patch #41481 by Zen, Cvbge, sun et al: bugfix: duplicate key error while editing locale strings. --- modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 17aa467bc..be43aace4 100644 --- a/modules/system/system.module +++ b/modules/system/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 -- cgit v1.2.3