From 133617cb13c22e0b16119d69b257cd62602e0138 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Thu, 4 May 2006 09:57:14 +0000 Subject: #57834 by chx, Replace theme_weight with more appropriate process_weight --- modules/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system.module') 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); -- cgit v1.2.3