summaryrefslogtreecommitdiff
path: root/modules/system.module
diff options
context:
space:
mode:
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 b243d01fd..5a6a2e3f4 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -72,7 +72,7 @@ function system_elements() {
$type['radio'] = array('#input' => TRUE);
$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);
+ $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['file'] = array('#input' => TRUE, '#size' => 60);