correctly convert password fields

This commit is contained in:
Ralf Becker 2016-04-25 08:41:32 +00:00
parent 8a96e97684
commit 89aa3cc1f5

View File

@ -84,6 +84,7 @@ foreach($trs[2] as $n => $tr)
unset($attrs['value'], $attrs['name']);
foreach($attrs as $name => $value)
{
if ($name == 'type' && $value == 'password') $value = 'passwd';
echo " $name=\"$value\"";
}
echo "/>\n";