diff --git a/modules/system.module b/modules/system.module index 3251f0b22ff3b97255cea52875e97eb2d87e2a50..8792336960f28be0eaddf99ab8112dbbbe59b7f7 100644 --- a/modules/system.module +++ b/modules/system.module @@ -68,7 +68,7 @@ function system_elements() { '#value' => 'pass', 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - '#validate' => array('password_confirm_validate' => ''), + '#validate' => array('password_confirm_validate' => array()), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); $type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array())); diff --git a/modules/system/system.module b/modules/system/system.module index 3251f0b22ff3b97255cea52875e97eb2d87e2a50..8792336960f28be0eaddf99ab8112dbbbe59b7f7 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -68,7 +68,7 @@ function system_elements() { '#value' => 'pass', 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - '#validate' => array('password_confirm_validate' => ''), + '#validate' => array('password_confirm_validate' => array()), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); $type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array()));