From 6424bf75975f81c440e5539ce6445ffa513c1129 Mon Sep 17 00:00:00 2001 From: jangliss Date: Wed, 31 Mar 2004 16:04:53 +0000 Subject: [PATCH] Password can accept a value as well. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6984 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/forms.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/forms.php b/functions/forms.php index bf540d1d..4ddc32d9 100644 --- a/functions/forms.php +++ b/functions/forms.php @@ -26,8 +26,8 @@ function addInputField($type, $name = null, $value = null, $attributes = '') { /** * Password input field */ -function addPwField($name) { - return addInputField('password', $name); +function addPwField($name , $value = null) { + return addInputField('password', $name , $value); } -- 2.25.1