Prevent the choice of unspecified Wine versions

This commit is contained in:
Tony Lambregts
2006-01-28 23:06:53 +00:00
committed by WineHQ
parent 9afa15776e
commit da2c7c6bb6

View File

@@ -119,12 +119,18 @@ function make_bugzilla_version_list($varname, $cvalue)
echo "<select name='$varname'>\n";
echo "<option value=\"\">Choose ...</option>\n";
while(list($value) = mysql_fetch_row($result))
{
if($value == "unspecified")
{
// We do not unspecified versions!!!
} else
{
if($value == $cvalue)
echo "<option value=$value selected>$value\n";
else
echo "<option value=$value>$value\n";
}
}
echo "</select>\n";
}