summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-28 02:20:14 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-28 02:20:14 +0000
commit0344a78d9643d97e1aff8ab94fec551bc091bfbc (patch)
tree1baef104d17fbe810f4460abf4b853e49bbd5a1a /modules/system
parent25bc5f030d30a391344e215fe1adb434d52d39ee (diff)
downloadbrdo-0344a78d9643d97e1aff8ab94fec551bc091bfbc.tar.gz
brdo-0344a78d9643d97e1aff8ab94fec551bc091bfbc.tar.bz2
- Patch #654796 by chx, c960657, sun, effulgentsia: fix bugs with checkbox element.
Diffstat (limited to 'modules/system')
-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 d450eadc5..296c06714 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -408,8 +408,8 @@ function system_element_info() {
$types['checkbox'] = array(
'#input' => TRUE,
'#return_value' => 1,
- '#process' => array('ajax_process_form'),
'#theme' => 'checkbox',
+ '#process' => array('form_process_checkbox', 'ajax_process_form'),
'#theme_wrappers' => array('form_element'),
'#title_display' => 'after',
);