Fix to avoid leaking to neighboring property when size is unset
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled

This commit is contained in:
Ilia Ross
2026-02-19 23:22:48 +02:00
parent 56a1c323c8
commit bfc1f10b38

View File

@@ -823,7 +823,7 @@ return "<input class='ui_textbox$cls' type='text' ".
"name=\"".&html_escape($name)."\" ".
"id=\"".&html_escape($name)."\" ".
"value=\"".&html_escape($value)."\" ".
"size=$size".($dis ? " disabled='true'" : "").
"size='$size'".($dis ? " disabled='true'" : "").
($max ? " maxlength='$max'" : "").
($tags ? " ".$tags : "").">";
}