summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system.module2
-rw-r--r--modules/system/system.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system.module b/modules/system.module
index 3251f0b22..879233696 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 3251f0b22..879233696 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()));