From 5229f329ac458aca6d5d7505cc5be2f975928c83 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 29 Jan 2006 07:28:52 +0000 Subject: - Patch #46759 by chx: made it possible to change your password when using php5. --- modules/system.module | 2 +- modules/system/system.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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())); -- cgit v1.2.3