From 0344a78d9643d97e1aff8ab94fec551bc091bfbc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 28 Oct 2010 02:20:14 +0000 Subject: - Patch #654796 by chx, c960657, sun, effulgentsia: fix bugs with checkbox element. --- modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system') 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', ); -- cgit v1.2.3