From: jangliss Date: Wed, 31 Mar 2004 16:04:53 +0000 (+0000) Subject: Password can accept a value as well. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=6424bf75975f81c440e5539ce6445ffa513c1129 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 --- 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); }