summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-12 05:34:34 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-12 05:34:34 +0000
commit25eef00f897256e2dcc7245bfe6bdee78c082034 (patch)
tree2094140391fa6194bede50c0ca2c0c0286a7b9d3 /modules
parent21eb666a9b9cc926b7e44fd988028ce64c469846 (diff)
downloadbrdo-25eef00f897256e2dcc7245bfe6bdee78c082034.tar.gz
brdo-25eef00f897256e2dcc7245bfe6bdee78c082034.tar.bz2
- Patch #48939 by Steve Ratcliffe: added missing {} to upgrade path.
Diffstat (limited to 'modules')
-rw-r--r--modules/system.module9
-rw-r--r--modules/system/system.module9
2 files changed, 8 insertions, 10 deletions
diff --git a/modules/system.module b/modules/system.module
index e5559180a..1785a2837 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -62,12 +62,11 @@ function system_elements() {
$type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => TRUE);
$type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => FALSE);
$type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE);
- $type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64);
- $type['password_confirm'] = array(
- '#input' => TRUE,
+ $type['password'] = array('#input' => TRUE, '#size' => 30);
+ $type['password_confirm'] = array('#input' => TRUE,
'#value' => 'pass',
- 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24),
- 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24),
+ 'pass1' => array('#type' => 'password', '#size' => 12),
+ 'pass2' => array('#type' => 'password', '#size' => 12),
'#validate' => array('password_confirm_validate' => array()),
);
$type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5);
diff --git a/modules/system/system.module b/modules/system/system.module
index e5559180a..1785a2837 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -62,12 +62,11 @@ function system_elements() {
$type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => TRUE);
$type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => FALSE);
$type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE);
- $type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64);
- $type['password_confirm'] = array(
- '#input' => TRUE,
+ $type['password'] = array('#input' => TRUE, '#size' => 30);
+ $type['password_confirm'] = array('#input' => TRUE,
'#value' => 'pass',
- 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24),
- 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24),
+ 'pass1' => array('#type' => 'password', '#size' => 12),
+ 'pass2' => array('#type' => 'password', '#size' => 12),
'#validate' => array('password_confirm_validate' => array()),
);
$type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5);