* finish task #8049.

This commit is contained in:
z
2020-09-30 17:13:57 +08:00
parent 3430987b11
commit 48be6e258d
+1 -1
View File
@@ -342,7 +342,7 @@ class baseHTML
*/
static public function password($name, $value = "", $attrib = "")
{
if(strpos($attrib, 'autocomplete') === false) $attrib .= " autocomplete='off'";
if(stripos($attrib, 'autocomplete') === false) $attrib .= " autocomplete='off'";
return "<input type='password' name='$name' id='$name' value='$value' $attrib />\n";
}