Fix a small bug in html_form_select_begin

This commit is contained in:
Zone 2002-01-16 06:31:33 +00:00
parent 7991524018
commit ed26d20be6

View File

@ -78,10 +78,10 @@ function html_form_textarea ($name = NULL, $rows = NULL, $cols = NULL, $value =
function html_form_select_begin ($name = NULL, $return = 0)
{
$test = ' ';
$text = ' ';
if ($name != NULL && $name)
{
$text = 'name="'.$name.'" ';
$text .= 'name="'.$name.'" ';
}
$rstring = '<select'.$text.'>';
return (eor ($rstring, $return));