Fix up selects for Maintainer Rating and Versions to return " " when Choose.. is selected.

This commit is contained in:
Tony Lambregts
2005-01-19 04:59:27 +00:00
committed by WineHQ
parent aba584ff93
commit 147f689b73

View File

@@ -99,7 +99,7 @@ function make_bugzilla_version_list($varname, $cvalue)
if(!$result) return; if(!$result) return;
echo "<select name='$varname'>\n"; echo "<select name='$varname'>\n";
echo "<option value=0>Choose ...</option>\n"; echo "<option value=" ">Choose ...</option>\n";
while(list($value) = mysql_fetch_row($result)) while(list($value) = mysql_fetch_row($result))
{ {
if($value == $cvalue) if($value == $cvalue)
@@ -114,7 +114,7 @@ function make_maintainer_rating_list($varname, $cvalue)
{ {
echo "<select name='$varname'>\n"; echo "<select name='$varname'>\n";
echo "<option value=0>Choose ...</option>\n"; echo "<option value=" ">Choose ...</option>\n";
$aRating = array("Gold", "Silver", "Bronze", "Garbage"); $aRating = array("Gold", "Silver", "Bronze", "Garbage");
$iMax = count($aRating); $iMax = count($aRating);