Browse Source

Password can accept a value as well.

jangliss 21 years ago
parent
commit
e4f6cc3969
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions/forms.php

+ 2 - 2
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);
 }