summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-29 07:28:52 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-29 07:28:52 +0000
commit5229f329ac458aca6d5d7505cc5be2f975928c83 (patch)
tree815a52054dfd68e8bd865922f8d70fb2aa893ae6
parent30d59fd52ce5d8274480ba9fdeb08bef2cfbcc1b (diff)
downloadbrdo-5229f329ac458aca6d5d7505cc5be2f975928c83.tar.gz
brdo-5229f329ac458aca6d5d7505cc5be2f975928c83.tar.bz2
- Patch #46759 by chx: made it possible to change your password when using php5.
-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()));